What is hex #CD96FF color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 80% red, 59% green and 100% blue, resulting in rgb(205, 150, 255) and hsl(271, 100%, 79%).
For print media and manufacturing layout, the CMYK equivalent is (20%, 41%, 0%, 0%).
In the HSV/HSB scale, #CD96FF features a hue of 271°, 41% saturation, and 100% brightness.
Hex #CD96FF Color Codes & Conversions
| Closest Named Color | Bright Lilac (#D891EF) |
| Hex Code | #CD96FF |
| Hex8 (RGBA Hex) | #CD96FFFF |
| RGB (CSS) | rgb(205, 150, 255) |
| RGBA (CSS) | rgba(205, 150, 255, 1) |
| HSL (CSS) | hsl(271, 100%, 79%) |
| HSLA (CSS) | hsla(271, 100%, 79%, 1) |
| HSV / HSB | (271°, 41%, 100%) |
| CMYK Values | (20%, 41%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(76.5% 0.155 307.2) |
| CIE-LAB (D65) | 70.88, 39.97, -44.51 |
| CIE XYZ | 54.13, 42.01, 99.85 |
| Decimal / Binary |
13473535
11001101 10010110 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC99FF |
| Inverse Color | #326900 |
| Complementary Color | #C8FF96 |
| Closest Pantone® | Pantone 529 C |
| Closest RAL | RAL 3015 [Light pink] |
#CD96FF Grayscale Equivalents
| Average | #CBCBCB |
| Lightness (Desaturation) | #CBCBCB |
| Weighted (BT601) | #B2B2B2 |
| Luma (BT709) | #A9A9A9 [Dark Medium Gray] |
WCAG 2.1 Color Contrast & Accessibility
Check how #CD96FF 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 #CD96FF
Sample preview of readable typography on top of #CD96FF.
Black Text on #CD96FF
Sample preview of readable typography on top of #CD96FF.
HTML / CSS Live Previews & Snippets for #CD96FF
Preview #CD96FF in real UI elements and copy ready-to-use CSS rules.
background-color: #CD96FF;
color: #CD96FF;
border: 2px solid #CD96FF;
:root {
--color-primary: #CD96FF;
--color-primary-rgb: 205, 150, 255;
--color-complementary: #C8FF96;
}
.btn-accent {
background-color: #CD96FF;
color: #000000;
}
Hex #CD96FF Color Palettes
Complementary Palette
The complementary color of #CD96FF is #C8FF96. 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 #CD96FF pairs with #9896FF and #FF96FC, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #CD96FF pairs with #96FF98 and #FCFF96, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #CD96FF uses #96FFCD and #FFCD96, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #CD96FF combines #FFCD96, #C8FF96 and #96C8FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #CD96FF pairs with #FF9896, #C8FF96 and #96FCFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #CD96FF
Tints
Tints are created by mixing #CD96FF with white, producing lighter variations.
Tones
Tones are created by mixing #CD96FF with gray, softening saturation.
Shades
Shades result from mixing #CD96FF with black, creating deeper variations.
Hex #CD96FF in Programming & CSS Frameworks
Copy the exact syntax for #CD96FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #CD96FF |
| Tailwind CSS | bg-[#CD96FF] text-[#CD96FF] |
| Java (AWT) | new Color(205,150,255); |
| Python | Color("#CD96FF") |
| .NET (C#) | Color.FromArgb(255, 205,150,255); |
| Swift / iOS | UIColor(red: 0.8, green: 0.59, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(205, 150, 255) |