#D96CD6#D96CD6

#D96CD6 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.5% C 0.187 H 328.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D96CD6
RGBrgb(217, 108, 214)
HSLhsl(302, 59%, 64%)
HSVhsv(302, 50%, 85%)
CMYKcmyk(0%, 50.2%, 1.4%, 14.9%)
CIE-LABlab(61.94, 56.93, -35.76)
CIE-LCHlch(61.94, 67.23, 327.87°)
OKLaboklab(69.55% 0.1592 -0.098)
OKLCHoklch(69.55% 0.187 328.4)
XYZxyz(46.1148, 30.3345, 67.0315)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CD6 #6CD96F
analogous
#A56CD9 #D96CD6 #D96C9F
triadic
#D96CD6 #D6D96C #6CD6D9
tetradic
#D96CD6 #D9A56C #6CD96F #6C9FD9
square
#D96CD6 #D9A56C #6CD96F #6C9FD9
split-complementary
#D96CD6 #9FD96C #6CD9A5
monochromatic
#A12A9E #CC3BC8 #D96CD6 #E69DE4 #F2CDF1

Accessibility & contrast

On white

2.97
#D96CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D96CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CD6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CD6#FFFFFF#000000##000000
##D96CD61.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#638CDA
Deuteranopia (green-blind)
#849BD3
Tritanopia (blue-blind)
#DF7797
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d96cd6;
/* rgb */ color: rgb(217, 108, 214);
/* oklch */ color: oklch(69.5% 0.187 328.4);
Tailwind
colors: {
  custom: {
    50: '#e79ae3',
    500: '#d96cd6',
    950: '#000000',
  },
}
SCSS
$custom: #d96cd6;
$custom-light: #e79ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cd6",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 301.651,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69549,
    "c": 0.18698,
    "h": 328.4
  },
  "luminance": 0.30332
}

Semantic roles & 50–950 ramp

primary
#D96CD6
secondary
#BDE4BE
accent
#C7241F
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D96CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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