#D96CE4#D96CE4

#D96CE4 is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.2% C 0.200 H 323.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#D96CE4
RGBrgb(217, 108, 228)
HSLhsl(295, 69%, 66%)
HSVhsv(295, 53%, 89%)
CMYKcmyk(4.8%, 52.6%, 0%, 10.6%)
CIE-LABlab(62.58, 59.43, -42.60)
CIE-LCHlch(62.58, 73.12, 324.37°)
OKLaboklab(70.22% 0.1611 -0.1177)
OKLCHoklch(70.22% 0.2 323.9)
XYZxyz(47.9801, 31.0807, 76.8556)
Luminance0.3108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CE4 #77E46C
analogous
#9D6CE4 #D96CE4 #E46CB3
triadic
#D96CE4 #E4D96C #6CE4D9
tetradic
#D96CE4 #E49D6C #77E46C #6CB3E4
square
#D96CE4 #E49D6C #77E46C #6CB3E4
split-complementary
#D96CE4 #B3E46C #6CE49D
monochromatic
#A721B4 #CC38DB #D96CE4 #E6A0ED #F4D3F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D96CE4#FFFFFF#000000##000000
##D96CE41.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)
#5B8FE8
Deuteranopia (green-blind)
#7E9CE1
Tritanopia (blue-blind)
#DD7B9E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96ce4;
/* rgb */ color: rgb(217, 108, 228);
/* oklch */ color: oklch(70.2% 0.200 323.9);
Tailwind
colors: {
  custom: {
    50: '#e79aed',
    500: '#d96ce4',
    950: '#000000',
  },
}
SCSS
$custom: #d96ce4;
$custom-light: #e79aed;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ce4",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 294.5,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70223,
    "c": 0.19953,
    "h": 323.9
  },
  "luminance": 0.31078
}

Semantic roles & 50–950 ramp

primary
#D96CE4
secondary
#C6EAC2
accent
#D11526
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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