#D96BE8#D96BE8

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

Color values

HEX#D96BE8
RGBrgb(217, 107, 232)
HSLhsl(293, 73%, 66%)
HSVhsv(293, 54%, 91%)
CMYKcmyk(6.5%, 53.9%, 0%, 9%)
CIE-LABlab(62.59, 60.63, -44.81)
CIE-LCHlch(62.59, 75.39, 323.54°)
OKLaboklab(70.29% 0.1629 -0.124)
OKLCHoklch(70.29% 0.205 322.7)
XYZxyz(48.4370, 31.0956, 79.7790)
Luminance0.3109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BE8 #7AE86B
analogous
#9B6BE8 #D96BE8 #E86BB9
triadic
#D96BE8 #E8D96B #6BE8D9
tetradic
#D96BE8 #E89B6B #7AE86B #6BB9E8
square
#D96BE8 #E89B6B #7AE86B #6BB9E8
split-complementary
#D96BE8 #B9E86B #6BE89B
monochromatic
#A81DBB #CB36E0 #D96BE8 #E7A0F0 #F4D5F8

Accessibility & contrast

On white

2.91
#D96BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#D96BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BE8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BE8#FFFFFF#000000##000000
##D96BE81.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEC
Deuteranopia (green-blind)
#7B9CE5
Tritanopia (blue-blind)
#DC7CA0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96be8;
/* rgb */ color: rgb(217, 107, 232);
/* oklch */ color: oklch(70.3% 0.205 322.7);
Tailwind
colors: {
  custom: {
    50: '#e79af0',
    500: '#d96be8',
    950: '#000000',
  },
}
SCSS
$custom: #d96be8;
$custom-light: #e79af0;
$custom-dark: #000000;
JSON
{
  "hex": "#d96be8",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 232
  },
  "hsl": {
    "h": 292.8,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70294,
    "c": 0.20472,
    "h": 322.7
  },
  "luminance": 0.31093
}

Semantic roles & 50–950 ramp

primary
#D96BE8
secondary
#C8ECC3
accent
#D51028
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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