#D96CF1#D96CF1

#D96CF1 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 70.9% C 0.212 H 320.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D96CF1
RGBrgb(217, 108, 241)
HSLhsl(289, 83%, 68%)
HSVhsv(289, 55%, 95%)
CMYKcmyk(10%, 55.2%, 0%, 5.5%)
CIE-LABlab(63.20, 61.84, -48.83)
CIE-LCHlch(63.20, 78.80, 321.70°)
OKLaboklab(70.89% 0.1624 -0.1357)
OKLCHoklch(70.89% 0.212 320.1)
XYZxyz(49.8531, 31.8299, 86.7198)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CF1 #84F16C
analogous
#966CF1 #D96CF1 #F16CC6
triadic
#D96CF1 #F1D96C #6CF1D9
tetradic
#D96CF1 #F1966C #84F16C #6CC6F1
square
#D96CF1 #F1966C #84F16C #6CC6F1
split-complementary
#D96CF1 #C6F16C #6CF196
monochromatic
#AD14CF #CB34EC #D96CF1 #E7A4F6 #F6DCFC

Accessibility & contrast

On white

2.85
#D96CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D96CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CF1
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CF1#FFFFFF#000000##000000
##D96CF11.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#779DED
Tritanopia (blue-blind)
#DA80A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96cf1;
/* rgb */ color: rgb(217, 108, 241);
/* oklch */ color: oklch(70.9% 0.212 320.1);
Tailwind
colors: {
  custom: {
    50: '#e79bf6',
    500: '#d96cf1',
    950: '#000000',
  },
}
SCSS
$custom: #d96cf1;
$custom-light: #e79bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cf1",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 241
  },
  "hsl": {
    "h": 289.173,
    "s": 82.609,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70887,
    "c": 0.21162,
    "h": 320.1
  },
  "luminance": 0.31828
}

Semantic roles & 50–950 ramp

primary
#D96CF1
secondary
#D0F0C8
accent
#DF062E
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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