#D96FE8#D96FE8

#D96FE8 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.8% C 0.199 H 322.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D96FE8
RGBrgb(217, 111, 232)
HSLhsl(293, 72%, 67%)
HSVhsv(293, 52%, 91%)
CMYKcmyk(6.5%, 52.2%, 0%, 9%)
CIE-LABlab(63.30, 58.73, -43.69)
CIE-LCHlch(63.30, 73.20, 323.36°)
OKLaboklab(70.82% 0.1577 -0.1208)
OKLCHoklch(70.82% 0.199 322.5)
XYZxyz(48.8637, 31.9491, 79.9212)
Luminance0.3195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FE8 #7EE86F
analogous
#9D6FE8 #D96FE8 #E86FBB
triadic
#D96FE8 #E8D96F #6FE8D9
tetradic
#D96FE8 #E89D6F #7EE86F #6FBBE8
square
#D96FE8 #E89D6F #7EE86F #6FBBE8
split-complementary
#D96FE8 #BBE86F #6FE89D
monochromatic
#AA1EBE #CB3AE0 #D96FE8 #E7A4F0 #F5D9F9

Accessibility & contrast

On white

2.84
#D96FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D96FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FE8
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FE8#FFFFFF#000000##000000
##D96FE81.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#7E9DE5
Tritanopia (blue-blind)
#DC7FA1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96fe8;
/* rgb */ color: rgb(217, 111, 232);
/* oklch */ color: oklch(70.8% 0.199 322.5);
Tailwind
colors: {
  custom: {
    50: '#e79cf0',
    500: '#d96fe8',
    950: '#000000',
  },
}
SCSS
$custom: #d96fe8;
$custom-light: #e79cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fe8",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 292.562,
    "s": 72.455,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70818,
    "c": 0.19863,
    "h": 322.5
  },
  "luminance": 0.31947
}

Semantic roles & 50–950 ramp

primary
#D96FE8
secondary
#CBECC6
accent
#D51129
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D96FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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