#D96CD5#D96CD5

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

Color values

HEX#D96CD5
RGBrgb(217, 108, 213)
HSLhsl(302, 59%, 64%)
HSVhsv(302, 50%, 85%)
CMYKcmyk(0%, 50.2%, 1.8%, 14.9%)
CIE-LABlab(61.90, 56.76, -35.26)
CIE-LCHlch(61.90, 66.82, 328.15°)
OKLaboklab(69.5% 0.1591 -0.0966)
OKLCHoklch(69.5% 0.186 328.7)
XYZxyz(45.9875, 30.2836, 66.3610)
Luminance0.3028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CD5 #6CD970
analogous
#A66CD9 #D96CD5 #D96C9E
triadic
#D96CD5 #D5D96C #6CD5D9
tetradic
#D96CD5 #D9A66C #6CD970 #6C9ED9
square
#D96CD5 #D9A66C #6CD970 #6C9ED9
split-complementary
#D96CD5 #9ED96C #6CD9A6
monochromatic
#A12A9D #CC3BC7 #D96CD5 #E69DE3 #F2CDF1

Accessibility & contrast

On white

2.98
#D96CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#D96CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CD5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CD5#FFFFFF#000000##000000
##D96CD51.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648CD8
Deuteranopia (green-blind)
#849BD2
Tritanopia (blue-blind)
#DF7797
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d96cd5;
/* rgb */ color: rgb(217, 108, 213);
/* oklch */ color: oklch(69.5% 0.186 328.7);
Tailwind
colors: {
  custom: {
    50: '#e79ae2',
    500: '#d96cd5',
    950: '#000000',
  },
}
SCSS
$custom: #d96cd5;
$custom-light: #e79ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cd5",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 302.202,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69502,
    "c": 0.18611,
    "h": 328.7
  },
  "luminance": 0.30281
}

Semantic roles & 50–950 ramp

primary
#D96CD5
secondary
#BDE4BF
accent
#C7251F
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D96CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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