#D866E5#D866E5

#D866E5 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.4% C 0.209 H 323.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#D866E5
RGBrgb(216, 102, 229)
HSLhsl(294, 71%, 65%)
HSVhsv(294, 55%, 90%)
CMYKcmyk(5.7%, 55.5%, 0%, 10.2%)
CIE-LABlab(61.45, 62.15, -44.94)
CIE-LCHlch(61.45, 76.70, 324.13°)
OKLaboklab(69.38% 0.1678 -0.1244)
OKLCHoklch(69.38% 0.209 323.4)
XYZxyz(47.2118, 29.7612, 77.3712)
Luminance0.2976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866E5 #73E566
analogous
#9866E5 #D866E5 #E566B3
triadic
#D866E5 #E5D866 #66E5D8
tetradic
#D866E5 #E59866 #73E566 #66B3E5
square
#D866E5 #E59866 #73E566 #66B3E5
split-complementary
#D866E5 #B3E566 #66E598
monochromatic
#A31EB2 #CB32DC #D866E5 #E59AEE #F3CFF7

Accessibility & contrast

On white

3.02
#D866E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#D866E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866E5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866E5#FFFFFF#000000##000000
##D866E51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#7899E2
Tritanopia (blue-blind)
#DB779C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d866e5;
/* rgb */ color: rgb(216, 102, 229);
/* oklch */ color: oklch(69.4% 0.209 323.4);
Tailwind
colors: {
  custom: {
    50: '#e797ed',
    500: '#d866e5',
    950: '#000000',
  },
}
SCSS
$custom: #d866e5;
$custom-light: #e797ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d866e5",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 293.858,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69384,
    "c": 0.20893,
    "h": 323.4
  },
  "luminance": 0.29759
}

Semantic roles & 50–950 ramp

primary
#D866E5
secondary
#C2E9BE
accent
#D31326
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D866E5

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

Preview Lab → · Contrast checker → · Palette generator →

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