#D96CD9#D96CD9

#D96CD9 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.7% C 0.190 H 327.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#D96CD9
RGBrgb(217, 108, 217)
HSLhsl(300, 59%, 64%)
HSVhsv(300, 50%, 85%)
CMYKcmyk(0%, 50.2%, 0%, 14.9%)
CIE-LABlab(62.07, 57.46, -37.23)
CIE-LCHlch(62.07, 68.47, 327.06°)
OKLaboklab(69.69% 0.1597 -0.1022)
OKLCHoklch(69.69% 0.19 327.4)
XYZxyz(46.5014, 30.4892, 69.0678)
Luminance0.3049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CD9 #6CD96C
analogous
#A26CD9 #D96CD9 #D96CA2
triadic
#D96CD9 #D9D96C #6CD9D9
tetradic
#D96CD9 #D9A26C #6CD96C #6CA2D9
square
#D96CD9 #D9A26C #6CD96C #6CA2D9
split-complementary
#D96CD9 #A2D96C #6CD9A2
monochromatic
#A12AA1 #CC3BCC #D96CD9 #E69DE6 #F2CDF2

Accessibility & contrast

On white

2.96
#D96CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#D96CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CD9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CD9#FFFFFF#000000##000000
##D96CD91.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDD
Deuteranopia (green-blind)
#839BD6
Tritanopia (blue-blind)
#DF7899
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d96cd9;
/* rgb */ color: rgb(217, 108, 217);
/* oklch */ color: oklch(69.7% 0.190 327.4);
Tailwind
colors: {
  custom: {
    50: '#e79ae5',
    500: '#d96cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d96cd9;
$custom-light: #e79ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cd9",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 300,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.18962,
    "h": 327.4
  },
  "luminance": 0.30487
}

Semantic roles & 50–950 ramp

primary
#D96CD9
secondary
#BDE4BD
accent
#C71F1F
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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