#D8D2EF#D8D2EF

#D8D2EF is a very light, muted violet. Relative luminance 0.669; OKLCH L 87.8% C 0.040 H 295.0°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#D8D2EF
RGBrgb(216, 210, 239)
HSLhsl(252, 48%, 88%)
HSVhsv(252, 12%, 94%)
CMYKcmyk(9.6%, 12.1%, 0%, 6.3%)
CIE-LABlab(85.47, 7.51, -13.47)
CIE-LCHlch(85.47, 15.43, 299.13°)
OKLaboklab(87.75% 0.017 -0.0363)
OKLCHoklch(87.75% 0.04 295)
XYZxyz(66.9424, 66.9239, 91.0355)
Luminance0.6692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D2EF #E9EFD2
analogous
#D2DAEF #D8D2EF #E6D2EF
triadic
#D8D2EF #EFD8D2 #D2EFD8
tetradic
#D8D2EF #EFD2DA #E9EFD2 #D2EFE6
square
#D8D2EF #EFD2DA #E9EFD2 #D2EFE6
split-complementary
#D8D2EF #EFE6D2 #DAEFD2
monochromatic
#8A78CF #B1A5DF #D8D2EF #EBE8F7 #EBE8F7

Accessibility & contrast

On white

1.46
#D8D2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#D8D2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D2EF
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D2EF#FFFFFF#000000##000000
##D8D2EF1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCD6F0
Deuteranopia (green-blind)
#CDD5EE
Tritanopia (blue-blind)
#D4D6DB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8d2ef;
/* rgb */ color: rgb(216, 210, 239);
/* oklch */ color: oklch(87.8% 0.040 295.0);
Tailwind
colors: {
  custom: {
    50: '#e4dff4',
    500: '#d8d2ef',
    950: '#000000',
  },
}
SCSS
$custom: #d8d2ef;
$custom-light: #e4dff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d2ef",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 239
  },
  "hsl": {
    "h": 252.414,
    "s": 47.541,
    "l": 88.039
  },
  "oklch": {
    "l": 0.8775,
    "c": 0.04006,
    "h": 295
  },
  "luminance": 0.66924
}

Semantic roles & 50–950 ramp

primary
#D8D2EF
secondary
#C2CC99
accent
#BB2B9D
background
#FEFEFF
surface
#FCFCFE
border
#D5D5D6
text
#151517
muted
#848485

Preview Lab

Preview with #D8D2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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