#D96EFC#D96EFC

#D96EFC is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.7% C 0.219 H 317.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D96EFC
RGBrgb(217, 110, 252)
HSLhsl(285, 96%, 71%)
HSVhsv(285, 56%, 99%)
CMYKcmyk(13.9%, 56.3%, 0%, 1.2%)
CIE-LABlab(64.11, 63.02, -53.47)
CIE-LCHlch(64.11, 82.64, 319.69°)
OKLaboklab(71.73% 0.1606 -0.1492)
OKLCHoklch(71.73% 0.219 317.1)
XYZxyz(51.7593, 32.9337, 95.7069)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EFC #91FC6E
analogous
#926EFC #D96EFC #FC6ED8
triadic
#D96EFC #FCD96E #6EFCD9
tetradic
#D96EFC #FC926E #91FC6E #6ED8FC
square
#D96EFC #FC926E #91FC6E #6ED8FC
split-complementary
#D96EFC #D8FC6E #6EFC92
monochromatic
#B205EB #C932FB #D96EFC #E9AAFD #F7E1FE

Accessibility & contrast

On white

2.77
#D96EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#D96EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EFC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EFC#FFFFFF#000000##000000
##D96EFC1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#D885AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96efc;
/* rgb */ color: rgb(217, 110, 252);
/* oklch */ color: oklch(71.7% 0.219 317.1);
Tailwind
colors: {
  custom: {
    50: '#e89cfe',
    500: '#d96efc',
    950: '#000000',
  },
}
SCSS
$custom: #d96efc;
$custom-light: #e89cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d96efc",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 252
  },
  "hsl": {
    "h": 285.211,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71729,
    "c": 0.2192,
    "h": 317.1
  },
  "luminance": 0.32932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D96EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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