What is hex #D4CCFF 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 83% red, 80% green and 100% blue, resulting in rgb(212, 204, 255) and hsl(249, 100%, 90%).
For print media and manufacturing layout, the CMYK equivalent is (17%, 20%, 0%, 0%).
In the HSV/HSB scale, #D4CCFF features a hue of 249°, 20% saturation, and 100% brightness.
Hex #D4CCFF Color Codes & Conversions
| Closest Named Color | Electric Lavender (#F4BBFF) |
| Hex Code | #D4CCFF |
| Hex8 (RGBA Hex) | #D4CCFFFF |
| RGB (CSS) | rgb(212, 204, 255) |
| RGBA (CSS) | rgba(212, 204, 255, 1) |
| HSL (CSS) | hsl(249, 100%, 90%) |
| HSLA (CSS) | hsla(249, 100%, 90%, 1) |
| HSV / HSB | (249°, 20%, 100%) |
| CMYK Values | (17%, 20%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(86.8% 0.070 292.1) |
| CIE-LAB (D65) | 84.17, 12.74, -23.93 |
| CIE XYZ | 66.79, 64.40, 103.50 |
| Decimal / Binary |
13946111
11010100 11001100 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #D4CCFF 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 #D4CCFF
Sample preview of readable typography on top of #D4CCFF.
Black Text on #D4CCFF
Sample preview of readable typography on top of #D4CCFF.
HTML / CSS Live Previews & Snippets for #D4CCFF
Preview #D4CCFF in real UI elements and copy ready-to-use CSS rules.
background-color: #D4CCFF;
color: #D4CCFF;
border: 2px solid #D4CCFF;
:root {
--color-primary: #D4CCFF;
--color-primary-rgb: 212, 204, 255;
--color-complementary: #F7FFCC;
}
.btn-accent {
background-color: #D4CCFF;
color: #000000;
}
Hex #D4CCFF Color Palettes
Complementary Palette
The complementary color of #D4CCFF is #F7FFCC. 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 #D4CCFF pairs with #CCDDFF and #EDCCFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #D4CCFF pairs with #DDFFCC and #FFEDCC, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #D4CCFF uses #CCFFD4 and #FFD4CC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #D4CCFF combines #FFD4CC, #F7FFCC and #CCF7FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #D4CCFF pairs with #FFCCDD, #F7FFCC and #CCFFED spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #D4CCFF
Tints
Tints are created by mixing #D4CCFF with white, producing lighter variations.
Tones
Tones are created by mixing #D4CCFF with gray, softening saturation.
Shades
Shades result from mixing #D4CCFF with black, creating deeper variations.
Hex #D4CCFF in Programming & CSS Frameworks
Copy the exact syntax for #D4CCFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #D4CCFF |
| Tailwind CSS | bg-[#D4CCFF] text-[#D4CCFF] |
| Java (AWT) | new Color(212,204,255); |
| Python | Color("#D4CCFF") |
| .NET (C#) | Color.FromArgb(255, 212,204,255); |
| Swift / iOS | UIColor(red: 0.83, green: 0.8, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(212, 204, 255) |