#D96AF9#D96AF9

#D96AF9 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.1% C 0.222 H 318.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#D96AF9
RGBrgb(217, 106, 249)
HSLhsl(287, 92%, 70%)
HSVhsv(287, 57%, 98%)
CMYKcmyk(12.9%, 57.4%, 0%, 2.4%)
CIE-LABlab(63.26, 64.30, -53.16)
CIE-LCHlch(63.26, 83.43, 320.42°)
OKLaboklab(71.06% 0.1653 -0.1483)
OKLCHoklch(71.06% 0.222 318.1)
XYZxyz(50.8658, 31.9013, 93.0823)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AF9 #8AF96A
analogous
#916AF9 #D96AF9 #F96AD2
triadic
#D96AF9 #F9D96A #6AF9D9
tetradic
#D96AF9 #F9916A #8AF96A #6AD2F9
square
#D96AF9 #F9916A #8AF96A #6AD2F9
split-complementary
#D96AF9 #D2F96A #6AF991
monochromatic
#B009E0 #CA2FF7 #D96AF9 #E8A5FB #F7E0FE

Accessibility & contrast

On white

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

On black

7.38
#D96AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AF9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AF9#FFFFFF#000000##000000
##D96AF91.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FE
Deuteranopia (green-blind)
#709DF5
Tritanopia (blue-blind)
#D981A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96af9;
/* rgb */ color: rgb(217, 106, 249);
/* oklch */ color: oklch(71.1% 0.222 318.1);
Tailwind
colors: {
  custom: {
    50: '#e89afc',
    500: '#d96af9',
    950: '#000000',
  },
}
SCSS
$custom: #d96af9;
$custom-light: #e89afc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96af9",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 286.573,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71061,
    "c": 0.2221,
    "h": 318.1
  },
  "luminance": 0.31899
}

Semantic roles & 50–950 ramp

primary
#D96AF9
secondary
#D4F4CB
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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