#D96DF4#D96DF4

#D96DF4 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.2% C 0.213 H 319.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D96DF4
RGBrgb(217, 109, 244)
HSLhsl(288, 86%, 69%)
HSVhsv(288, 55%, 96%)
CMYKcmyk(11.1%, 55.3%, 0%, 4.3%)
CIE-LABlab(63.53, 61.94, -49.98)
CIE-LCHlch(63.53, 79.59, 321.10°)
OKLaboklab(71.17% 0.1613 -0.1391)
OKLCHoklch(71.17% 0.213 319.2)
XYZxyz(50.4109, 32.2227, 89.1346)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DF4 #88F46D
analogous
#966DF4 #D96DF4 #F46DCC
triadic
#D96DF4 #F4D96D #6DF4D9
tetradic
#D96DF4 #F4966D #88F46D #6DCCF4
square
#D96DF4 #F4966D #88F46D #6DCCF4
split-complementary
#D96DF4 #CCF46D #6DF496
monochromatic
#AF10D6 #CA34F0 #D96DF4 #E8A6F8 #F7DFFD

Accessibility & contrast

On white

2.82
#D96DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D96DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DF4
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DF4#FFFFFF#000000##000000
##D96DF41.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F8
Deuteranopia (green-blind)
#769EF0
Tritanopia (blue-blind)
#DA82A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96df4;
/* rgb */ color: rgb(217, 109, 244);
/* oklch */ color: oklch(71.2% 0.213 319.2);
Tailwind
colors: {
  custom: {
    50: '#e79bf8',
    500: '#d96df4',
    950: '#000000',
  },
}
SCSS
$custom: #d96df4;
$custom-light: #e79bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#d96df4",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 288,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71173,
    "c": 0.21298,
    "h": 319.2
  },
  "luminance": 0.32221
}

Semantic roles & 50–950 ramp

primary
#D96DF4
secondary
#D3F2CB
accent
#E30330
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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