#D96CEE#D96CEE

#D96CEE is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.7% C 0.209 H 320.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D96CEE
RGBrgb(217, 108, 238)
HSLhsl(290, 79%, 68%)
HSVhsv(290, 55%, 93%)
CMYKcmyk(8.8%, 54.6%, 0%, 6.7%)
CIE-LABlab(63.05, 61.28, -47.40)
CIE-LCHlch(63.05, 77.47, 322.27°)
OKLaboklab(70.73% 0.1621 -0.1316)
OKLCHoklch(70.73% 0.209 320.9)
XYZxyz(49.4087, 31.6521, 84.3792)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CEE #81EE6C
analogous
#986CEE #D96CEE #EE6CC2
triadic
#D96CEE #EED96C #6CEED9
tetradic
#D96CEE #EE986C #81EE6C #6CC2EE
square
#D96CEE #EE986C #81EE6C #6CC2EE
split-complementary
#D96CEE #C2EE6C #6CEE98
monochromatic
#AC17C8 #CB35E8 #D96CEE #E7A3F4 #F5DAFB

Accessibility & contrast

On white

2.86
#D96CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#D96CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CEE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CEE#FFFFFF#000000##000000
##D96CEE1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#789DEA
Tritanopia (blue-blind)
#DB7FA3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96cee;
/* rgb */ color: rgb(217, 108, 238);
/* oklch */ color: oklch(70.7% 0.209 320.9);
Tailwind
colors: {
  custom: {
    50: '#e79bf4',
    500: '#d96cee',
    950: '#000000',
  },
}
SCSS
$custom: #d96cee;
$custom-light: #e79bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cee",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 290.308,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7073,
    "c": 0.2088,
    "h": 320.9
  },
  "luminance": 0.3165
}

Semantic roles & 50–950 ramp

primary
#D96CEE
secondary
#CDEFC7
accent
#DC0A2C
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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