#D866DC#D866DC

#D866DC is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 68.9% C 0.201 H 326.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#D866DC
RGBrgb(216, 102, 220)
HSLhsl(298, 63%, 63%)
HSVhsv(298, 54%, 86%)
CMYKcmyk(1.8%, 53.6%, 0%, 13.7%)
CIE-LABlab(61.02, 60.54, -40.58)
CIE-LCHlch(61.02, 72.88, 326.17°)
OKLaboklab(68.93% 0.1669 -0.1118)
OKLCHoklch(68.93% 0.201 326.2)
XYZxyz(45.9876, 29.2716, 70.9240)
Luminance0.2927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866DC #6ADC66
analogous
#9D66DC #D866DC #DC66A5
triadic
#D866DC #DCD866 #66DCD8
tetradic
#D866DC #DC9D66 #6ADC66 #66A5DC
square
#D866DC #DC9D66 #6ADC66 #66A5DC
split-complementary
#D866DC #A5DC66 #66DC9D
monochromatic
#9E25A2 #CB34D1 #D866DC #E598E7 #F1CAF3

Accessibility & contrast

On white

3.06
#D866DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#D866DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866DC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866DC#FFFFFF#000000##000000
##D866DC1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#7D98D9
Tritanopia (blue-blind)
#DD7498
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d866dc;
/* rgb */ color: rgb(216, 102, 220);
/* oklch */ color: oklch(68.9% 0.201 326.2);
Tailwind
colors: {
  custom: {
    50: '#e797e7',
    500: '#d866dc',
    950: '#000000',
  },
}
SCSS
$custom: #d866dc;
$custom-light: #e797e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d866dc",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 297.966,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68931,
    "c": 0.2009,
    "h": 326.2
  },
  "luminance": 0.29269
}

Semantic roles & 50–950 ramp

primary
#D866DC
secondary
#BBE4BA
accent
#CB1B21
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D866DC

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

Preview Lab → · Contrast checker → · Palette generator →

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