#D96CE3#D96CE3

#D96CE3 is a light, vivid purple. Relative luminance 0.310; OKLCH L 70.2% C 0.199 H 324.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D96CE3
RGBrgb(217, 108, 227)
HSLhsl(295, 68%, 66%)
HSVhsv(295, 52%, 89%)
CMYKcmyk(4.4%, 52.4%, 0%, 11%)
CIE-LABlab(62.53, 59.25, -42.11)
CIE-LCHlch(62.53, 72.69, 324.59°)
OKLaboklab(70.17% 0.161 -0.1163)
OKLCHoklch(70.17% 0.199 324.2)
XYZxyz(47.8417, 31.0253, 76.1266)
Luminance0.3102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CE3 #76E36C
analogous
#9D6CE3 #D96CE3 #E36CB1
triadic
#D96CE3 #E3D96C #6CE3D9
tetradic
#D96CE3 #E39D6C #76E36C #6CB1E3
square
#D96CE3 #E39D6C #76E36C #6CB1E3
split-complementary
#D96CE3 #B1E36C #6CE39D
monochromatic
#A622B3 #CC39D9 #D96CE3 #E69FED #F4D3F7

Accessibility & contrast

On white

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

On black

7.20
#D96CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CE3
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CE3#FFFFFF#000000##000000
##D96CE31.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE7
Deuteranopia (green-blind)
#7E9CE0
Tritanopia (blue-blind)
#DD7B9E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96ce3;
/* rgb */ color: rgb(217, 108, 227);
/* oklch */ color: oklch(70.2% 0.199 324.2);
Tailwind
colors: {
  custom: {
    50: '#e79aec',
    500: '#d96ce3',
    950: '#000000',
  },
}
SCSS
$custom: #d96ce3;
$custom-light: #e79aec;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ce3",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 227
  },
  "hsl": {
    "h": 294.958,
    "s": 68,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70174,
    "c": 0.19861,
    "h": 324.2
  },
  "luminance": 0.31023
}

Semantic roles & 50–950 ramp

primary
#D96CE3
secondary
#C5E9C2
accent
#D01625
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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