#D96DCD#D96DCD

#D96DCD is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.3% C 0.178 H 331.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#D96DCD
RGBrgb(217, 109, 205)
HSLhsl(307, 59%, 64%)
HSVhsv(307, 50%, 85%)
CMYKcmyk(0%, 49.8%, 5.5%, 14.9%)
CIE-LABlab(61.74, 54.91, -31.00)
CIE-LCHlch(61.74, 63.06, 330.55°)
OKLaboklab(69.27% 0.1563 -0.0844)
OKLCHoklch(69.27% 0.178 331.6)
XYZxyz(45.1031, 30.0996, 61.1799)
Luminance0.3010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DCD #6DD979
analogous
#AF6DD9 #D96DCD #D96D97
triadic
#D96DCD #CDD96D #6DCDD9
tetradic
#D96DCD #D9AF6D #6DD979 #6D97D9
square
#D96DCD #D9AF6D #6DD979 #6D97D9
split-complementary
#D96DCD #97D96D #6DD9AF
monochromatic
#A22A94 #CC3CBC #D96DCD #E69EDE #F2CEEE

Accessibility & contrast

On white

2.99
#D96DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#D96DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DCD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DCD#FFFFFF#000000##000000
##D96DCD1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD0
Deuteranopia (green-blind)
#889BCA
Tritanopia (blue-blind)
#E17594
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d96dcd;
/* rgb */ color: rgb(217, 109, 205);
/* oklch */ color: oklch(69.3% 0.178 331.6);
Tailwind
colors: {
  custom: {
    50: '#e79bdc',
    500: '#d96dcd',
    950: '#000000',
  },
}
SCSS
$custom: #d96dcd;
$custom-light: #e79bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96dcd",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 306.667,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69274,
    "c": 0.17768,
    "h": 331.6
  },
  "luminance": 0.30097
}

Semantic roles & 50–950 ramp

primary
#D96DCD
secondary
#BEE4C2
accent
#C6321F
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D96DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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