#D96DE5#D96DE5

#D96DE5 is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.4% C 0.199 H 323.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D96DE5
RGBrgb(217, 109, 229)
HSLhsl(294, 70%, 66%)
HSVhsv(294, 52%, 90%)
CMYKcmyk(5.2%, 52.4%, 0%, 10.2%)
CIE-LABlab(62.80, 59.14, -42.80)
CIE-LCHlch(62.80, 73.00, 324.10°)
OKLaboklab(70.4% 0.1599 -0.1183)
OKLCHoklch(70.4% 0.199 323.5)
XYZxyz(48.2254, 31.3485, 77.6242)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DE5 #79E56D
analogous
#9D6DE5 #D96DE5 #E56DB5
triadic
#D96DE5 #E5D96D #6DE5D9
tetradic
#D96DE5 #E59D6D #79E56D #6DB5E5
square
#D96DE5 #E59D6D #79E56D #6DB5E5
split-complementary
#D96DE5 #B5E56D #6DE59D
monochromatic
#A821B7 #CB39DC #D96DE5 #E7A1EE #F4D5F8

Accessibility & contrast

On white

2.89
#D96DE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D96DE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DE5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DE5#FFFFFF#000000##000000
##D96DE51.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#7E9CE2
Tritanopia (blue-blind)
#DC7D9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96de5;
/* rgb */ color: rgb(217, 109, 229);
/* oklch */ color: oklch(70.4% 0.199 323.5);
Tailwind
colors: {
  custom: {
    50: '#e79bed',
    500: '#d96de5',
    950: '#000000',
  },
}
SCSS
$custom: #d96de5;
$custom-light: #e79bed;
$custom-dark: #000000;
JSON
{
  "hex": "#d96de5",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 229
  },
  "hsl": {
    "h": 294,
    "s": 69.767,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70404,
    "c": 0.19892,
    "h": 323.5
  },
  "luminance": 0.31346
}

Semantic roles & 50–950 ramp

primary
#D96DE5
secondary
#C7EAC3
accent
#D21427
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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