What is hex #CD45FF color?
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.
From a technical standpoint, this color is composed of 80% red, 27% green and 100% blue, resulting in rgb(205, 69, 255) and hsl(284, 100%, 64%).
For print media and manufacturing layout, the CMYK equivalent is (20%, 73%, 0%, 0%).
In the HSV/HSB scale, #CD45FF features a hue of 284°, 73% saturation, and 100% brightness.
Hex #CD45FF Color Codes & Conversions
| Closest Named Color | Medium Orchid (#BA55D3) |
| Hex Code | #CD45FF |
| Hex8 (RGBA Hex) | #CD45FFFF |
| RGB (CSS) | rgb(205, 69, 255) |
| RGBA (CSS) | rgba(205, 69, 255, 1) |
| HSL (CSS) | hsl(284, 100%, 64%) |
| HSLA (CSS) | hsla(284, 100%, 64%, 1) |
| HSV / HSB | (284°, 73%, 100%) |
| CMYK Values | (20%, 73%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(66.0% 0.269 315.1) |
| CIE-LAB (D65) | 56.54, 78.03, -67.32 |
| CIE XYZ | 45.35, 24.46, 96.92 |
| Decimal / Binary |
13452799
11001101 01000101 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC33FF |
| Inverse Color | #32BA00 |
| Complementary Color | #77FF45 |
| Closest Pantone® | Pantone 252 C |
| Closest RAL | RAL 4003 [Heather violet] |
#CD45FF Grayscale Equivalents
| Average | #B0B0B0 |
| Lightness (Desaturation) | #A2A2A2 |
| Weighted (BT601) | #838383 |
| Luma (BT709) | #6F6F6F |
WCAG 2.1 Color Contrast & Accessibility
Check how #CD45FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #CD45FF
Sample preview of readable typography on top of #CD45FF.
Black Text on #CD45FF
Sample preview of readable typography on top of #CD45FF.
HTML / CSS Live Previews & Snippets for #CD45FF
Preview #CD45FF in real UI elements and copy ready-to-use CSS rules.
background-color: #CD45FF;
color: #CD45FF;
border: 2px solid #CD45FF;
:root {
--color-primary: #CD45FF;
--color-primary-rgb: 205, 69, 255;
--color-complementary: #77FF45;
}
.btn-accent {
background-color: #CD45FF;
color: #000000;
}
Hex #CD45FF Color Palettes
Complementary Palette
The complementary color of #CD45FF is #77FF45. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #CD45FF pairs with #7045FF and #FF45D4, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #CD45FF pairs with #45FF70 and #D4FF45, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #CD45FF uses #45FFCD and #FFCD45, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #CD45FF combines #FFCD45, #77FF45 and #4577FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #CD45FF pairs with #FF7045, #77FF45 and #45D4FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #CD45FF
Tints
Tints are created by mixing #CD45FF with white, producing lighter variations.
Tones
Tones are created by mixing #CD45FF with gray, softening saturation.
Shades
Shades result from mixing #CD45FF with black, creating deeper variations.
Hex #CD45FF in Programming & CSS Frameworks
Copy the exact syntax for #CD45FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #CD45FF |
| Tailwind CSS | bg-[#CD45FF] text-[#CD45FF] |
| Java (AWT) | new Color(205,69,255); |
| Python | Color("#CD45FF") |
| .NET (C#) | Color.FromArgb(255, 205,69,255); |
| Swift / iOS | UIColor(red: 0.8, green: 0.27, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(205, 69, 255) |