#D96BE9#D96BE9

#D96BE9 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.3% C 0.206 H 322.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D96BE9
RGBrgb(217, 107, 233)
HSLhsl(292, 74%, 67%)
HSVhsv(292, 54%, 91%)
CMYKcmyk(6.9%, 54.1%, 0%, 8.6%)
CIE-LABlab(62.64, 60.82, -45.29)
CIE-LCHlch(62.64, 75.83, 323.33°)
OKLaboklab(70.35% 0.163 -0.1254)
OKLCHoklch(70.35% 0.206 322.4)
XYZxyz(48.5794, 31.1526, 80.5292)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BE9 #7BE96B
analogous
#9A6BE9 #D96BE9 #E96BBA
triadic
#D96BE9 #E9D96B #6BE9D9
tetradic
#D96BE9 #E99A6B #7BE96B #6BBAE9
square
#D96BE9 #E99A6B #7BE96B #6BBAE9
split-complementary
#D96BE9 #BAE96B #6BE99A
monochromatic
#A91CBD #CB36E1 #D96BE9 #E7A0F1 #F4D6F9

Accessibility & contrast

On white

2.90
#D96BE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#D96BE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BE9
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BE9#FFFFFF#000000##000000
##D96BE91.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FED
Deuteranopia (green-blind)
#7A9CE6
Tritanopia (blue-blind)
#DC7CA0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96be9;
/* rgb */ color: rgb(217, 107, 233);
/* oklch */ color: oklch(70.3% 0.206 322.4);
Tailwind
colors: {
  custom: {
    50: '#e79af0',
    500: '#d96be9',
    950: '#000000',
  },
}
SCSS
$custom: #d96be9;
$custom-light: #e79af0;
$custom-dark: #000000;
JSON
{
  "hex": "#d96be9",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 233
  },
  "hsl": {
    "h": 292.381,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70345,
    "c": 0.20564,
    "h": 322.4
  },
  "luminance": 0.3115
}

Semantic roles & 50–950 ramp

primary
#D96BE9
secondary
#C9ECC4
accent
#D60F29
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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