#D4CAFF#D4CAFF

#D4CAFF is a very light, moderate violet. Relative luminance 0.635; OKLCH L 86.5% C 0.073 H 293.5°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D4CAFF
RGBrgb(212, 202, 255)
HSLhsl(251, 100%, 90%)
HSVhsv(251, 21%, 100%)
CMYKcmyk(16.9%, 20.8%, 0%, 0%)
CIE-LABlab(83.68, 13.81, -24.68)
CIE-LCHlch(83.68, 28.28, 299.22°)
OKLaboklab(86.46% 0.0292 -0.0674)
OKLCHoklch(86.46% 0.073 293.5)
XYZxyz(66.3180, 63.4576, 103.3430)
Luminance0.6346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CAFF #F5FFCA
analogous
#CADBFF #D4CAFF #EFCAFF
triadic
#D4CAFF #FFD4CA #CAFFD4
tetradic
#D4CAFF #FFCADB #F5FFCA #CAFFEF
square
#D4CAFF #FFCADB #F5FFCA #CAFFEF
split-complementary
#D4CAFF #FFEFCA #DBFFCA
monochromatic
#7150FF #A28DFF #D4CAFF #E6E0FF #E6E0FF

Accessibility & contrast

On white

1.53
#D4CAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D4CAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CAFF
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CAFF#FFFFFF#000000##000000
##D4CAFF1.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BED1FF
Deuteranopia (green-blind)
#BFD0FD
Tritanopia (blue-blind)
#CCD2DC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4caff;
/* rgb */ color: rgb(212, 202, 255);
/* oklch */ color: oklch(86.5% 0.073 293.5);
Tailwind
colors: {
  custom: {
    50: '#e1daff',
    500: '#d4caff',
    950: '#000000',
  },
}
SCSS
$custom: #d4caff;
$custom-light: #e1daff;
$custom-dark: #000000;
JSON
{
  "hex": "#d4caff",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 255
  },
  "hsl": {
    "h": 251.321,
    "s": 100,
    "l": 89.608
  },
  "oklch": {
    "l": 0.86455,
    "c": 0.07343,
    "h": 293.5
  },
  "luminance": 0.63458
}

Semantic roles & 50–950 ramp

primary
#D4CAFF
secondary
#D6E984
accent
#E600BA
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #D4CAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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