#D96DEF#D96DEF

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

Color values

HEX#D96DEF
RGBrgb(217, 109, 239)
HSLhsl(290, 80%, 68%)
HSVhsv(290, 54%, 94%)
CMYKcmyk(9.2%, 54.4%, 0%, 6.3%)
CIE-LABlab(63.28, 60.99, -47.60)
CIE-LCHlch(63.28, 77.37, 322.03°)
OKLaboklab(70.91% 0.1609 -0.1322)
OKLCHoklch(70.91% 0.208 320.6)
XYZxyz(49.6621, 31.9232, 85.1905)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DEF #83EF6D
analogous
#986DEF #D96DEF #EF6DC4
triadic
#D96DEF #EFD96D #6DEFD9
tetradic
#D96DEF #EF986D #83EF6D #6DC4EF
square
#D96DEF #EF986D #83EF6D #6DC4EF
split-complementary
#D96DEF #C4EF6D #6DEF98
monochromatic
#AD16CB #CB36E9 #D96DEF #E7A4F5 #F6DBFB

Accessibility & contrast

On white

2.84
#D96DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#D96DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DEF
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DEF#FFFFFF#000000##000000
##D96DEF1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#DB80A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96def;
/* rgb */ color: rgb(217, 109, 239);
/* oklch */ color: oklch(70.9% 0.208 320.6);
Tailwind
colors: {
  custom: {
    50: '#e79bf5',
    500: '#d96def',
    950: '#000000',
  },
}
SCSS
$custom: #d96def;
$custom-light: #e79bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d96def",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 289.846,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70911,
    "c": 0.20825,
    "h": 320.6
  },
  "luminance": 0.31921
}

Semantic roles & 50–950 ramp

primary
#D96DEF
secondary
#CFF0C8
accent
#DD092D
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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