What is hex #D4BCFF color?

 
The hex code #D4BCFF 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, 74% green and 100% blue, resulting in rgb(212, 188, 255) and hsl(261, 100%, 87%).
For print media and manufacturing layout, the CMYK equivalent is (17%, 26%, 0%, 0%).
In the HSV/HSB scale, #D4BCFF features a hue of 261°, 26% saturation, and 100% brightness.

Hex #D4BCFF Color Codes & Conversions

Closest Named Color
Electric Lavender (#F4BBFF)
Hex Code #D4BCFF
Hex8 (RGBA Hex) #D4BCFFFF
RGB (CSS) rgb(212, 188, 255)
RGBA (CSS) rgba(212, 188, 255, 1)
HSL (CSS) hsl(261, 100%, 87%)
HSLA (CSS) hsla(261, 100%, 87%, 1)
HSV / HSB (261°, 26%, 100%)
CMYK Values (17%, 26%, 0%, 0%)
OKLCH (Modern CSS) oklch(83.8% 0.095 300.8)
CIE-LAB (D65) 80.28, 21.36, -29.88
CIE XYZ 63.18, 57.18, 102.30
Decimal / Binary 13942015
11010100 10111100 11111111

Closest Standards & Equivalents

Closest Web Safe
#CCCCFF
Inverse Color
#2B4300
Complementary Color
#E7FFBC
Closest Pantone®
Pantone 530 C
Closest RAL
RAL 9002 [Grey white]

#D4BCFF Grayscale Equivalents

Average
#DADADA
Lightness (Desaturation)
#DEDEDE
Weighted (BT601)
#CBCBCB
Luma (BT709)
#C6C6C6

WCAG 2.1 Color Contrast & Accessibility

Check how #D4BCFF 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 #D4BCFF

Sample preview of readable typography on top of #D4BCFF.

Contrast Ratio: 1.69:1
AA Fail AAA Fail

Black Text on #D4BCFF

Sample preview of readable typography on top of #D4BCFF.

Contrast Ratio: 12.44:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #D4BCFF

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

Background Preview
background-color: #D4BCFF;
Typography Color Preview
color: #D4BCFF;
Border & Shadow Preview
border: 2px solid #D4BCFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #D4BCFF;
  --color-primary-rgb: 212, 188, 255;
  --color-complementary: #E7FFBC;
}
.btn-accent {
  background-color: #D4BCFF;
  color: #000000;
}

Hex #D4BCFF Color Palettes

Complementary Palette

The complementary color of #D4BCFF is #E7FFBC. 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 #D4BCFF pairs with #BCC5FF and #F5BCFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #D4BCFF pairs with #C5FFBC and #FFF5BC, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #D4BCFF uses #BCFFD4 and #FFD4BC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #D4BCFF combines #FFD4BC, #E7FFBC and #BCE7FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #D4BCFF pairs with #FFBCC5, #E7FFBC and #BCFFF5 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #D4BCFF

Tints

Tints are created by mixing #D4BCFF with white, producing lighter variations.

Tones

Tones are created by mixing #D4BCFF with gray, softening saturation.

Shades

Shades result from mixing #D4BCFF with black, creating deeper variations.

Hex #D4BCFF in Programming & CSS Frameworks

Copy the exact syntax for #D4BCFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #D4BCFF
Tailwind CSS bg-[#D4BCFF] text-[#D4BCFF]
Java (AWT) new Color(212,188,255);
Python Color("#D4BCFF")
.NET (C#) Color.FromArgb(255, 212,188,255);
Swift / iOS UIColor(red: 0.83, green: 0.74, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(212, 188, 255)