#D96EF1#D96EF1

#D96EF1 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.1% C 0.209 H 320.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D96EF1
RGBrgb(217, 110, 241)
HSLhsl(289, 82%, 69%)
HSVhsv(289, 54%, 95%)
CMYKcmyk(10%, 54.4%, 0%, 5.5%)
CIE-LABlab(63.55, 60.90, -48.28)
CIE-LCHlch(63.55, 77.71, 321.60°)
OKLaboklab(71.15% 0.1598 -0.1341)
OKLCHoklch(71.15% 0.209 320)
XYZxyz(50.0664, 32.2566, 86.7909)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EF1 #86F16E
analogous
#986EF1 #D96EF1 #F16EC8
triadic
#D96EF1 #F1D96E #6EF1D9
tetradic
#D96EF1 #F1986E #86F16E #6EC8F1
square
#D96EF1 #F1986E #86F16E #6EC8F1
split-complementary
#D96EF1 #C8F16E #6EF198
monochromatic
#AE14D0 #CA36EC #D96EF1 #E8A6F6 #F6DEFC

Accessibility & contrast

On white

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

On black

7.45
#D96EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EF1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EF1#FFFFFF#000000##000000
##D96EF11.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F5
Deuteranopia (green-blind)
#789EED
Tritanopia (blue-blind)
#DA81A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96ef1;
/* rgb */ color: rgb(217, 110, 241);
/* oklch */ color: oklch(71.1% 0.209 320.0);
Tailwind
colors: {
  custom: {
    50: '#e79cf6',
    500: '#d96ef1',
    950: '#000000',
  },
}
SCSS
$custom: #d96ef1;
$custom-light: #e79cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ef1",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 289.008,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71145,
    "c": 0.20864,
    "h": 320
  },
  "luminance": 0.32254
}

Semantic roles & 50–950 ramp

primary
#D96EF1
secondary
#D1F1CA
accent
#DF072E
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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