#D96BEA#D96BEA

#D96BEA is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.4% C 0.207 H 322.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#D96BEA
RGBrgb(217, 107, 234)
HSLhsl(292, 75%, 67%)
HSVhsv(292, 54%, 92%)
CMYKcmyk(7.3%, 54.3%, 0%, 8.2%)
CIE-LABlab(62.68, 61.00, -45.77)
CIE-LCHlch(62.68, 76.26, 323.12°)
OKLaboklab(70.4% 0.1631 -0.1268)
OKLCHoklch(70.4% 0.207 322.1)
XYZxyz(48.7227, 31.2099, 81.2836)
Luminance0.3121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BEA #7CEA6B
analogous
#9A6BEA #D96BEA #EA6BBB
triadic
#D96BEA #EAD96B #6BEAD9
tetradic
#D96BEA #EA9A6B #7CEA6B #6BBBEA
square
#D96BEA #EA9A6B #7CEA6B #6BBBEA
split-complementary
#D96BEA #BBEA6B #6BEA9A
monochromatic
#A91BBF #CB35E2 #D96BEA #E7A1F2 #F5D6F9

Accessibility & contrast

On white

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

On black

7.24
#D96BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BEA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BEA#FFFFFF#000000##000000
##D96BEA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#DC7DA1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96bea;
/* rgb */ color: rgb(217, 107, 234);
/* oklch */ color: oklch(70.4% 0.207 322.1);
Tailwind
colors: {
  custom: {
    50: '#e79af1',
    500: '#d96bea',
    950: '#000000',
  },
}
SCSS
$custom: #d96bea;
$custom-light: #e79af1;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bea",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 291.969,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70396,
    "c": 0.20657,
    "h": 322.1
  },
  "luminance": 0.31208
}

Semantic roles & 50–950 ramp

primary
#D96BEA
secondary
#CAEDC4
accent
#D70E29
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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