#D4CCFB#D4CCFB

#D4CCFB is a very light, moderate violet. Relative luminance 0.641; OKLCH L 86.7% C 0.065 H 292.8°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#D4CCFB
RGBrgb(212, 204, 251)
HSLhsl(250, 85%, 89%)
HSVhsv(250, 19%, 98%)
CMYKcmyk(15.5%, 18.7%, 0%, 1.6%)
CIE-LABlab(84.04, 11.89, -22.01)
CIE-LCHlch(84.04, 25.02, 298.37°)
OKLaboklab(86.69% 0.0252 -0.0599)
OKLCHoklch(86.69% 0.065 292.8)
XYZxyz(66.1531, 64.1473, 100.1446)
Luminance0.6415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CCFB #F3FBCC
analogous
#CCDCFB #D4CCFB #ECCCFB
triadic
#D4CCFB #FBD4CC #CCFBD4
tetradic
#D4CCFB #FBCCDC #F3FBCC #CCFBEC
square
#D4CCFB #FBCCDC #F3FBCC #CCFBEC
split-complementary
#D4CCFB #FBECCC #DCFBCC
monochromatic
#745BF2 #A493F7 #D4CCFB #E7E3FD #E7E3FD

Accessibility & contrast

On white

1.52
#D4CCFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#D4CCFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CCFB
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CCFB#FFFFFF#000000##000000
##D4CCFB1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2D2FD
Deuteranopia (green-blind)
#C2D1FA
Tritanopia (blue-blind)
#CDD3DC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4ccfb;
/* rgb */ color: rgb(212, 204, 251);
/* oklch */ color: oklch(86.7% 0.065 292.8);
Tailwind
colors: {
  custom: {
    50: '#e1dbfc',
    500: '#d4ccfb',
    950: '#000000',
  },
}
SCSS
$custom: #d4ccfb;
$custom-light: #e1dbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ccfb",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 251
  },
  "hsl": {
    "h": 250.213,
    "s": 85.455,
    "l": 89.216
  },
  "oklch": {
    "l": 0.86691,
    "c": 0.06499,
    "h": 292.8
  },
  "luminance": 0.64148
}

Semantic roles & 50–950 ramp

primary
#D4CCFB
secondary
#D3E28A
accent
#E204BC
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151517
muted
#848485

Preview Lab

Preview with #D4CCFB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D4CCFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva