#D866D8#D866D8

#D866D8 is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.7% C 0.197 H 327.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#D866D8
RGBrgb(216, 102, 216)
HSLhsl(300, 59%, 62%)
HSVhsv(300, 53%, 85%)
CMYKcmyk(0%, 52.8%, 0%, 15.3%)
CIE-LABlab(60.84, 59.84, -38.62)
CIE-LCHlch(60.84, 71.22, 327.16°)
OKLaboklab(68.74% 0.1664 -0.1062)
OKLCHoklch(68.74% 0.197 327.5)
XYZxyz(45.4642, 29.0622, 68.1673)
Luminance0.2906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866D8 #66D866
analogous
#9F66D8 #D866D8 #D8669F
triadic
#D866D8 #D8D866 #66D8D8
tetradic
#D866D8 #D89F66 #66D866 #669FD8
square
#D866D8 #D89F66 #66D866 #669FD8
split-complementary
#D866D8 #9FD866 #66D89F
monochromatic
#9C289C #CC35CC #D866D8 #E497E4 #F1C8F1

Accessibility & contrast

On white

3.08
#D866D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#D866D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866D8
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866D8#FFFFFF#000000##000000
##D866D81.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B89DC
Deuteranopia (green-blind)
#7E98D5
Tritanopia (blue-blind)
#DE7396
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d866d8;
/* rgb */ color: rgb(216, 102, 216);
/* oklch */ color: oklch(68.7% 0.197 327.5);
Tailwind
colors: {
  custom: {
    50: '#e797e4',
    500: '#d866d8',
    950: '#000000',
  },
}
SCSS
$custom: #d866d8;
$custom-light: #e797e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d866d8",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 300,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68736,
    "c": 0.1974,
    "h": 327.5
  },
  "luminance": 0.2906
}

Semantic roles & 50–950 ramp

primary
#D866D8
secondary
#B8E2B8
accent
#C71E1E
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E15
muted
#847E84

Preview Lab

Preview with #D866D8

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

Preview Lab → · Contrast checker → · Palette generator →

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