#D96DFA#D96DFA

#D96DFA is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.5% C 0.219 H 317.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D96DFA
RGBrgb(217, 109, 250)
HSLhsl(286, 93%, 70%)
HSVhsv(286, 56%, 98%)
CMYKcmyk(13.2%, 56.4%, 0%, 2%)
CIE-LABlab(63.83, 63.10, -52.81)
CIE-LCHlch(63.83, 82.28, 320.07°)
OKLaboklab(71.49% 0.1617 -0.1473)
OKLCHoklch(71.49% 0.219 317.7)
XYZxyz(51.3368, 32.5931, 94.0108)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DFA #8EFA6D
analogous
#926DFA #D96DFA #FA6DD5
triadic
#D96DFA #FAD96D #6DFAD9
tetradic
#D96DFA #FA926D #8EFA6D #6DD5FA
square
#D96DFA #FA926D #8EFA6D #6DD5FA
split-complementary
#D96DFA #D5FA6D #6DFA92
monochromatic
#B108E5 #CA32F8 #D96DFA #E8A8FC #F7E1FE

Accessibility & contrast

On white

2.79
#D96DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D96DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DFA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DFA#FFFFFF#000000##000000
##D96DFA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#729EF6
Tritanopia (blue-blind)
#D884AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96dfa;
/* rgb */ color: rgb(217, 109, 250);
/* oklch */ color: oklch(71.5% 0.219 317.7);
Tailwind
colors: {
  custom: {
    50: '#e89cfc',
    500: '#d96dfa',
    950: '#000000',
  },
}
SCSS
$custom: #d96dfa;
$custom-light: #e89cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96dfa",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 285.957,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71493,
    "c": 0.21873,
    "h": 317.7
  },
  "luminance": 0.32591
}

Semantic roles & 50–950 ramp

primary
#D96DFA
secondary
#D7F5CE
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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