#D96CF9#D96CF9

#D96CF9 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.3% C 0.219 H 318.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D96CF9
RGBrgb(217, 108, 249)
HSLhsl(286, 92%, 70%)
HSVhsv(286, 57%, 98%)
CMYKcmyk(12.9%, 56.6%, 0%, 2.4%)
CIE-LABlab(63.61, 63.37, -52.61)
CIE-LCHlch(63.61, 82.37, 320.30°)
OKLaboklab(71.31% 0.1629 -0.1467)
OKLCHoklch(71.31% 0.219 318)
XYZxyz(51.0744, 32.3184, 93.1519)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CF9 #8CF96C
analogous
#936CF9 #D96CF9 #F96CD2
triadic
#D96CF9 #F9D96C #6CF9D9
tetradic
#D96CF9 #F9936C #8CF96C #6CD2F9
square
#D96CF9 #F9936C #8CF96C #6CD2F9
split-complementary
#D96CF9 #D2F96C #6CF993
monochromatic
#B009E1 #CA31F7 #D96CF9 #E8A7FB #F7E2FE

Accessibility & contrast

On white

2.81
#D96CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D96CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CF9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CF9#FFFFFF#000000##000000
##D96CF91.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FD
Deuteranopia (green-blind)
#729EF5
Tritanopia (blue-blind)
#D982A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96cf9;
/* rgb */ color: rgb(217, 108, 249);
/* oklch */ color: oklch(71.3% 0.219 318.0);
Tailwind
colors: {
  custom: {
    50: '#e89bfc',
    500: '#d96cf9',
    950: '#000000',
  },
}
SCSS
$custom: #d96cf9;
$custom-light: #e89bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cf9",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 286.383,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.71312,
    "c": 0.21922,
    "h": 318
  },
  "luminance": 0.32316
}

Semantic roles & 50–950 ramp

primary
#D96CF9
secondary
#D6F4CD
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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