#D96CDF#D96CDF

#D96CDF is a light, vivid purple. Relative luminance 0.308; OKLCH L 70.0% C 0.195 H 325.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D96CDF
RGBrgb(217, 108, 223)
HSLhsl(297, 64%, 65%)
HSVhsv(297, 52%, 87%)
CMYKcmyk(2.7%, 51.6%, 0%, 12.5%)
CIE-LABlab(62.34, 58.52, -40.17)
CIE-LCHlch(62.34, 70.98, 325.53°)
OKLaboklab(69.98% 0.1605 -0.1107)
OKLCHoklch(69.98% 0.195 325.4)
XYZxyz(47.2961, 30.8070, 73.2529)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CDF #72DF6C
analogous
#A06CDF #D96CDF #DF6CAB
triadic
#D96CDF #DFD96C #6CDFD9
tetradic
#D96CDF #DFA06C #72DF6C #6CABDF
square
#D96CDF #DFA06C #72DF6C #6CABDF
split-complementary
#D96CDF #ABDF6C #6CDFA0
monochromatic
#A425AB #CC3AD4 #D96CDF #E69EEA #F3D1F5

Accessibility & contrast

On white

2.93
#D96CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#D96CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CDF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CDF#FFFFFF#000000##000000
##D96CDF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#809CDC
Tritanopia (blue-blind)
#DE7A9C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96cdf;
/* rgb */ color: rgb(217, 108, 223);
/* oklch */ color: oklch(70.0% 0.195 325.4);
Tailwind
colors: {
  custom: {
    50: '#e79ae9',
    500: '#d96cdf',
    950: '#000000',
  },
}
SCSS
$custom: #d96cdf;
$custom-light: #e79ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cdf",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 296.87,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69977,
    "c": 0.19498,
    "h": 325.4
  },
  "luminance": 0.30805
}

Semantic roles & 50–950 ramp

primary
#D96CDF
secondary
#C2E7C0
accent
#CC1923
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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