What is hex #CD99FF 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, 60% green and 100% blue, resulting in rgb(205, 153, 255) and hsl(271, 100%, 80%).
For print media and manufacturing layout, the CMYK equivalent is (20%, 40%, 0%, 0%).
In the HSV/HSB scale, #CD99FF features a hue of 271°, 40% saturation, and 100% brightness.
Hex #CD99FF Color Codes & Conversions
| Closest Named Color | Bright Lilac (#D891EF) |
| Hex Code | #CD99FF |
| Hex8 (RGBA Hex) | #CD99FFFF |
| RGB (CSS) | rgb(205, 153, 255) |
| RGBA (CSS) | rgba(205, 153, 255, 1) |
| HSL (CSS) | hsl(271, 100%, 80%) |
| HSLA (CSS) | hsla(271, 100%, 80%, 1) |
| HSV / HSB | (271°, 40%, 100%) |
| CMYK Values | (20%, 40%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(77.0% 0.150 306.7) |
| CIE-LAB (D65) | 71.54, 38.34, -43.48 |
| CIE XYZ | 54.61, 42.98, 100.01 |
| Decimal / Binary |
13474303
11001101 10011001 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #CD99FF 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 #CD99FF
Sample preview of readable typography on top of #CD99FF.
Black Text on #CD99FF
Sample preview of readable typography on top of #CD99FF.
HTML / CSS Live Previews & Snippets for #CD99FF
Preview #CD99FF in real UI elements and copy ready-to-use CSS rules.
background-color: #CD99FF;
color: #CD99FF;
border: 2px solid #CD99FF;
:root {
--color-primary: #CD99FF;
--color-primary-rgb: 205, 153, 255;
--color-complementary: #CBFF99;
}
.btn-accent {
background-color: #CD99FF;
color: #000000;
}
Hex #CD99FF Color Palettes
Complementary Palette
The complementary color of #CD99FF is #CBFF99. 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 #CD99FF pairs with #9A99FF and #FF99FE, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #CD99FF pairs with #99FF9A and #FEFF99, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #CD99FF uses #99FFCD and #FFCD99, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #CD99FF combines #FFCD99, #CBFF99 and #99CBFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #CD99FF pairs with #FF9A99, #CBFF99 and #99FEFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #CD99FF
Tints
Tints are created by mixing #CD99FF with white, producing lighter variations.
Tones
Tones are created by mixing #CD99FF with gray, softening saturation.
Shades
Shades result from mixing #CD99FF with black, creating deeper variations.
Hex #CD99FF in Programming & CSS Frameworks
Copy the exact syntax for #CD99FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #CD99FF |
| Tailwind CSS | bg-[#CD99FF] text-[#CD99FF] |
| Java (AWT) | new Color(205,153,255); |
| Python | Color("#CD99FF") |
| .NET (C#) | Color.FromArgb(255, 205,153,255); |
| Swift / iOS | UIColor(red: 0.8, green: 0.6, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(205, 153, 255) |