#D96DEB#D96DEB

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

Color values

HEX#D96DEB
RGBrgb(217, 109, 235)
HSLhsl(291, 76%, 67%)
HSVhsv(291, 54%, 92%)
CMYKcmyk(7.7%, 53.6%, 0%, 7.8%)
CIE-LABlab(63.09, 60.24, -45.69)
CIE-LCHlch(63.09, 75.61, 322.82°)
OKLaboklab(70.71% 0.1606 -0.1266)
OKLCHoklch(70.71% 0.204 321.7)
XYZxyz(49.0777, 31.6894, 82.1127)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DEB #7FEB6D
analogous
#9A6DEB #D96DEB #EB6DBE
triadic
#D96DEB #EBD96D #6DEBD9
tetradic
#D96DEB #EB9A6D #7FEB6D #6DBEEB
square
#D96DEB #EB9A6D #7FEB6D #6DBEEB
split-complementary
#D96DEB #BEEB6D #6DEB9A
monochromatic
#AB1BC3 #CB37E4 #D96DEB #E7A3F2 #F5D9FA

Accessibility & contrast

On white

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

On black

7.34
#D96DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DEB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DEB#FFFFFF#000000##000000
##D96DEB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#DB7FA2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96deb;
/* rgb */ color: rgb(217, 109, 235);
/* oklch */ color: oklch(70.7% 0.204 321.7);
Tailwind
colors: {
  custom: {
    50: '#e79bf2',
    500: '#d96deb',
    950: '#000000',
  },
}
SCSS
$custom: #d96deb;
$custom-light: #e79bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d96deb",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 291.429,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70706,
    "c": 0.20449,
    "h": 321.7
  },
  "luminance": 0.31687
}

Semantic roles & 50–950 ramp

primary
#D96DEB
secondary
#CCEEC6
accent
#D80D2A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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