#D866E7#D866E7

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

Color values

HEX#D866E7
RGBrgb(216, 102, 231)
HSLhsl(293, 73%, 65%)
HSVhsv(293, 56%, 91%)
CMYKcmyk(6.5%, 55.8%, 0%, 9.4%)
CIE-LABlab(61.55, 62.52, -45.90)
CIE-LCHlch(61.55, 77.56, 323.71°)
OKLaboklab(69.49% 0.168 -0.1272)
OKLCHoklch(69.49% 0.211 322.9)
XYZxyz(47.4926, 29.8736, 78.8504)
Luminance0.2987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866E7 #75E766
analogous
#9766E7 #D866E7 #E766B6
triadic
#D866E7 #E7D866 #66E7D8
tetradic
#D866E7 #E79766 #75E766 #66B6E7
square
#D866E7 #E79766 #75E766 #66B6E7
split-complementary
#D866E7 #B6E766 #66E797
monochromatic
#A41DB6 #CB31DF #D866E7 #E59BEF #F3D0F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D866E7#FFFFFF#000000##000000
##D866E71.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)
#508CEB
Deuteranopia (green-blind)
#7799E3
Tritanopia (blue-blind)
#DB789D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d866e7;
/* rgb */ color: rgb(216, 102, 231);
/* oklch */ color: oklch(69.5% 0.211 322.9);
Tailwind
colors: {
  custom: {
    50: '#e797ef',
    500: '#d866e7',
    950: '#000000',
  },
}
SCSS
$custom: #d866e7;
$custom-light: #e797ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d866e7",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 293.023,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69486,
    "c": 0.21073,
    "h": 322.9
  },
  "luminance": 0.29871
}

Semantic roles & 50–950 ramp

primary
#D866E7
secondary
#C4EABF
accent
#D51127
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D866E7

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

Preview Lab → · Contrast checker → · Palette generator →

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