What is hex #D4CCFF color?

 
The hex code #D4CCFF is closest to the named color Electric Lavender (#F4BBFF).
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

Closest Standards & Equivalents

Closest Web Safe
#CCCCFF
Inverse Color
#2B3300
Complementary Color
#F7FFCC
Closest Pantone®
Pantone 263 C
Closest RAL
RAL 9002 [Grey white]

#D4CCFF Grayscale Equivalents

Average
#E0E0E0
Lightness (Desaturation)
#E6E6E6
Weighted (BT601)
#D4D4D4
Luma (BT709)
#D1D1D1

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.

Contrast Ratio: 1.51:1
AA Fail AAA Fail

Black Text on #D4CCFF

Sample preview of readable typography on top of #D4CCFF.

Contrast Ratio: 13.88:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #D4CCFF

Preview #D4CCFF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #D4CCFF;
Typography Color Preview
color: #D4CCFF;
Border & Shadow Preview
border: 2px solid #D4CCFF;
CSS Custom Properties & Gradient
: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)