#D96DFD#D96DFD

#D96DFD is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.7% C 0.222 H 316.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#D96DFD
RGBrgb(217, 109, 253)
HSLhsl(285, 97%, 71%)
HSVhsv(285, 57%, 99%)
CMYKcmyk(14.2%, 56.9%, 0%, 0.8%)
CIE-LABlab(63.98, 63.68, -54.21)
CIE-LCHlch(63.98, 83.63, 319.59°)
OKLaboklab(71.66% 0.1619 -0.1514)
OKLCHoklch(71.66% 0.222 316.9)
XYZxyz(51.8109, 32.7827, 96.5080)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DFD #91FD6D
analogous
#916DFD #D96DFD #FD6DD9
triadic
#D96DFD #FDD96D #6DFDD9
tetradic
#D96DFD #FD916D #91FD6D #6DD9FD
square
#D96DFD #FD916D #91FD6D #6DD9FD
split-complementary
#D96DFD #D9FD6D #6DFD91
monochromatic
#B203EC #C931FC #D96DFD #E9A9FE #F7E1FF

Accessibility & contrast

On white

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

On black

7.56
#D96DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DFD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DFD#FFFFFF#000000##000000
##D96DFD1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#D885AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96dfd;
/* rgb */ color: rgb(217, 109, 253);
/* oklch */ color: oklch(71.7% 0.222 316.9);
Tailwind
colors: {
  custom: {
    50: '#e89cff',
    500: '#d96dfd',
    950: '#000000',
  },
}
SCSS
$custom: #d96dfd;
$custom-light: #e89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96dfd",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 285,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71656,
    "c": 0.22161,
    "h": 316.9
  },
  "luminance": 0.32781
}

Semantic roles & 50–950 ramp

primary
#D96DFD
secondary
#D9F6D0
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D96DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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