#D96DEE#D96DEE

#D96DEE is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 70.9% C 0.207 H 320.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D96DEE
RGBrgb(217, 109, 238)
HSLhsl(290, 79%, 68%)
HSVhsv(290, 54%, 93%)
CMYKcmyk(8.8%, 54.2%, 0%, 6.7%)
CIE-LABlab(63.23, 60.81, -47.13)
CIE-LCHlch(63.23, 76.93, 322.22°)
OKLaboklab(70.86% 0.1609 -0.1308)
OKLCHoklch(70.86% 0.207 320.9)
XYZxyz(49.5147, 31.8642, 84.4146)
Luminance0.3186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DEE #82EE6D
analogous
#996DEE #D96DEE #EE6DC2
triadic
#D96DEE #EED96D #6DEED9
tetradic
#D96DEE #EE996D #82EE6D #6DC2EE
square
#D96DEE #EE996D #82EE6D #6DC2EE
split-complementary
#D96DEE #C2EE6D #6DEE99
monochromatic
#AC17C9 #CB36E8 #D96DEE #E7A4F4 #F6DBFB

Accessibility & contrast

On white

2.85
#D96DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D96DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DEE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DEE#FFFFFF#000000##000000
##D96DEE1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#DB80A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96dee;
/* rgb */ color: rgb(217, 109, 238);
/* oklch */ color: oklch(70.9% 0.207 320.9);
Tailwind
colors: {
  custom: {
    50: '#e79bf4',
    500: '#d96dee',
    950: '#000000',
  },
}
SCSS
$custom: #d96dee;
$custom-light: #e79bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d96dee",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 290.233,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7086,
    "c": 0.20731,
    "h": 320.9
  },
  "luminance": 0.31862
}

Semantic roles & 50–950 ramp

primary
#D96DEE
secondary
#CEEFC8
accent
#DB0A2C
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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