#D96DF6#D96DF6

#D96DF6 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.3% C 0.215 H 318.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D96DF6
RGBrgb(217, 109, 246)
HSLhsl(287, 88%, 70%)
HSVhsv(287, 56%, 96%)
CMYKcmyk(11.8%, 55.7%, 0%, 3.5%)
CIE-LABlab(63.63, 62.33, -50.92)
CIE-LCHlch(63.63, 80.49, 320.75°)
OKLaboklab(71.28% 0.1615 -0.1418)
OKLCHoklch(71.28% 0.215 318.7)
XYZxyz(50.7163, 32.3448, 90.7426)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DF6 #8AF66D
analogous
#946DF6 #D96DF6 #F66DCF
triadic
#D96DF6 #F6D96D #6DF6D9
tetradic
#D96DF6 #F6946D #8AF66D #6DCFF6
square
#D96DF6 #F6946D #8AF66D #6DCFF6
split-complementary
#D96DF6 #CFF66D #6DF694
monochromatic
#B00EDB #CA33F2 #D96DF6 #E8A7FA #F7E0FD

Accessibility & contrast

On white

2.81
#D96DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D96DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DF6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DF6#FFFFFF#000000##000000
##D96DF61.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FA
Deuteranopia (green-blind)
#759EF2
Tritanopia (blue-blind)
#D982A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96df6;
/* rgb */ color: rgb(217, 109, 246);
/* oklch */ color: oklch(71.3% 0.215 318.7);
Tailwind
colors: {
  custom: {
    50: '#e89bfa',
    500: '#d96df6',
    950: '#000000',
  },
}
SCSS
$custom: #d96df6;
$custom-light: #e89bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d96df6",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 287.299,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71279,
    "c": 0.21489,
    "h": 318.7
  },
  "luminance": 0.32343
}

Semantic roles & 50–950 ramp

primary
#D96DF6
secondary
#D4F3CC
accent
#E50131
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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