#D96DC8#D96DC8

#D96DC8 is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.1% C 0.174 H 333.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#D96DC8
RGBrgb(217, 109, 200)
HSLhsl(309, 59%, 64%)
HSVhsv(309, 50%, 85%)
CMYKcmyk(0%, 49.8%, 7.8%, 14.9%)
CIE-LABlab(61.53, 54.07, -28.49)
CIE-LCHlch(61.53, 61.12, 332.21°)
OKLaboklab(69.05% 0.1554 -0.0773)
OKLCHoklch(69.05% 0.174 333.5)
XYZxyz(44.5092, 29.8620, 58.0520)
Luminance0.2986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DC8 #6DD97E
analogous
#B46DD9 #D96DC8 #D96D92
triadic
#D96DC8 #C8D96D #6DC8D9
tetradic
#D96DC8 #D9B46D #6DD97E #6D92D9
square
#D96DC8 #D9B46D #6DD97E #6D92D9
split-complementary
#D96DC8 #92D96D #6DD9B4
monochromatic
#A22A8F #CC3CB6 #D96DC8 #E69EDA #F2CEED

Accessibility & contrast

On white

3.01
#D96DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#D96DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D96DC8
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DC8#FFFFFF#000000##000000
##D96DC81.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCB
Deuteranopia (green-blind)
#8A9AC5
Tritanopia (blue-blind)
#E17491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d96dc8;
/* rgb */ color: rgb(217, 109, 200);
/* oklch */ color: oklch(69.1% 0.174 333.5);
Tailwind
colors: {
  custom: {
    50: '#e79bd9',
    500: '#d96dc8',
    950: '#000000',
  },
}
SCSS
$custom: #d96dc8;
$custom-light: #e79bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d96dc8",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 200
  },
  "hsl": {
    "h": 309.444,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69054,
    "c": 0.17354,
    "h": 333.5
  },
  "luminance": 0.29859
}

Semantic roles & 50–950 ramp

primary
#D96DC8
secondary
#BEE4C4
accent
#C6391F
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D96DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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