#D866E8#D866E8

#D866E8 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.5% C 0.212 H 322.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#D866E8
RGBrgb(216, 102, 232)
HSLhsl(293, 74%, 65%)
HSVhsv(293, 56%, 91%)
CMYKcmyk(6.9%, 56%, 0%, 9%)
CIE-LABlab(61.59, 62.70, -46.38)
CIE-LCHlch(61.59, 77.99, 323.51°)
OKLaboklab(69.54% 0.1681 -0.1286)
OKLCHoklch(69.54% 0.212 322.6)
XYZxyz(47.6343, 29.9302, 79.5963)
Luminance0.2993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866E8 #76E866
analogous
#9766E8 #D866E8 #E866B7
triadic
#D866E8 #E8D866 #66E8D8
tetradic
#D866E8 #E89766 #76E866 #66B7E8
square
#D866E8 #E89766 #76E866 #66B7E8
split-complementary
#D866E8 #B7E866 #66E897
monochromatic
#A51CB8 #CA31E0 #D866E8 #E69BF0 #F3D0F8

Accessibility & contrast

On white

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

On black

6.99
#D866E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866E8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866E8#FFFFFF#000000##000000
##D866E81.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEC
Deuteranopia (green-blind)
#7699E4
Tritanopia (blue-blind)
#DB789E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d866e8;
/* rgb */ color: rgb(216, 102, 232);
/* oklch */ color: oklch(69.5% 0.212 322.6);
Tailwind
colors: {
  custom: {
    50: '#e797f0',
    500: '#d866e8',
    950: '#000000',
  },
}
SCSS
$custom: #d866e8;
$custom-light: #e797f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d866e8",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 292.615,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69538,
    "c": 0.21164,
    "h": 322.6
  },
  "luminance": 0.29928
}

Semantic roles & 50–950 ramp

primary
#D866E8
secondary
#C4EBBF
accent
#D61028
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D866E8

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

Preview Lab → · Contrast checker → · Palette generator →

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