#D96DE8#D96DE8

#D96DE8 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.6% C 0.202 H 322.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D96DE8
RGBrgb(217, 109, 232)
HSLhsl(293, 73%, 67%)
HSVhsv(293, 53%, 91%)
CMYKcmyk(6.5%, 53%, 0%, 9%)
CIE-LABlab(62.94, 59.69, -44.25)
CIE-LCHlch(62.94, 74.30, 323.45°)
OKLaboklab(70.55% 0.1603 -0.1225)
OKLCHoklch(70.55% 0.202 322.6)
XYZxyz(48.6479, 31.5175, 79.8493)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DE8 #7CE86D
analogous
#9C6DE8 #D96DE8 #E86DBA
triadic
#D96DE8 #E8D96D #6DE8D9
tetradic
#D96DE8 #E89C6D #7CE86D #6DBAE8
square
#D96DE8 #E89C6D #7CE86D #6DBAE8
split-complementary
#D96DE8 #BAE86D #6DE89C
monochromatic
#A91EBD #CB38E0 #D96DE8 #E7A2F0 #F5D7F9

Accessibility & contrast

On white

2.88
#D96DE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D96DE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DE8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DE8#FFFFFF#000000##000000
##D96DE81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EC
Deuteranopia (green-blind)
#7C9DE5
Tritanopia (blue-blind)
#DC7EA1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96de8;
/* rgb */ color: rgb(217, 109, 232);
/* oklch */ color: oklch(70.6% 0.202 322.6);
Tailwind
colors: {
  custom: {
    50: '#e79bf0',
    500: '#d96de8',
    950: '#000000',
  },
}
SCSS
$custom: #d96de8;
$custom-light: #e79bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#d96de8",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 232
  },
  "hsl": {
    "h": 292.683,
    "s": 72.781,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.20169,
    "h": 322.6
  },
  "luminance": 0.31515
}

Semantic roles & 50–950 ramp

primary
#D96DE8
secondary
#CAECC5
accent
#D51129
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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