#D96EF9#D96EF9

#D96EF9 is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.6% C 0.216 H 317.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D96EF9
RGBrgb(217, 110, 249)
HSLhsl(286, 92%, 70%)
HSVhsv(286, 56%, 98%)
CMYKcmyk(12.9%, 55.8%, 0%, 2.4%)
CIE-LABlab(63.95, 62.43, -52.06)
CIE-LCHlch(63.95, 81.29, 320.18°)
OKLaboklab(71.57% 0.1604 -0.1451)
OKLCHoklch(71.57% 0.216 317.9)
XYZxyz(51.2877, 32.7451, 93.2230)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EF9 #8EF96E
analogous
#936EF9 #D96EF9 #F96ED3
triadic
#D96EF9 #F9D96E #6EF9D9
tetradic
#D96EF9 #F9936E #8EF96E #6ED3F9
square
#D96EF9 #F9936E #8EF96E #6ED3F9
split-complementary
#D96EF9 #D3F96E #6EF993
monochromatic
#B109E3 #CA33F7 #D96EF9 #E8A9FB #F7E2FE

Accessibility & contrast

On white

2.78
#D96EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D96EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EF9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EF9#FFFFFF#000000##000000
##D96EF91.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FD
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#D884A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96ef9;
/* rgb */ color: rgb(217, 110, 249);
/* oklch */ color: oklch(71.6% 0.216 317.9);
Tailwind
colors: {
  custom: {
    50: '#e89cfc',
    500: '#d96ef9',
    950: '#000000',
  },
}
SCSS
$custom: #d96ef9;
$custom-light: #e89cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ef9",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 286.187,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71568,
    "c": 0.21631,
    "h": 317.9
  },
  "luminance": 0.32743
}

Semantic roles & 50–950 ramp

primary
#D96EF9
secondary
#D7F4CE
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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