#D96BEE#D96BEE

#D96BEE is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.6% C 0.210 H 321.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D96BEE
RGBrgb(217, 107, 238)
HSLhsl(290, 79%, 68%)
HSVhsv(290, 55%, 93%)
CMYKcmyk(8.8%, 55%, 0%, 6.7%)
CIE-LABlab(62.88, 61.75, -47.68)
CIE-LCHlch(62.88, 78.01, 322.33°)
OKLaboklab(70.6% 0.1634 -0.1324)
OKLCHoklch(70.6% 0.21 321)
XYZxyz(49.3038, 31.4424, 84.3443)
Luminance0.3144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BEE #80EE6B
analogous
#986BEE #D96BEE #EE6BC1
triadic
#D96BEE #EED96B #6BEED9
tetradic
#D96BEE #EE986B #80EE6B #6BC1EE
square
#D96BEE #EE986B #80EE6B #6BC1EE
split-complementary
#D96BEE #C1EE6B #6BEE98
monochromatic
#AB17C8 #CB34E8 #D96BEE #E7A2F4 #F5D9FB

Accessibility & contrast

On white

2.88
#D96BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D96BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BEE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BEE#FFFFFF#000000##000000
##D96BEE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#DB7EA3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96bee;
/* rgb */ color: rgb(217, 107, 238);
/* oklch */ color: oklch(70.6% 0.210 321.0);
Tailwind
colors: {
  custom: {
    50: '#e79af4',
    500: '#d96bee',
    950: '#000000',
  },
}
SCSS
$custom: #d96bee;
$custom-light: #e79af4;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bee",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 290.382,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70602,
    "c": 0.21029,
    "h": 321
  },
  "luminance": 0.3144
}

Semantic roles & 50–950 ramp

primary
#D96BEE
secondary
#CDEFC6
accent
#DC0A2B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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