#D866EA#D866EA

#D866EA is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.6% C 0.213 H 322.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#D866EA
RGBrgb(216, 102, 234)
HSLhsl(292, 76%, 66%)
HSVhsv(292, 56%, 92%)
CMYKcmyk(7.7%, 56.4%, 0%, 8.2%)
CIE-LABlab(61.69, 63.07, -47.34)
CIE-LCHlch(61.69, 78.86, 323.11°)
OKLaboklab(69.64% 0.1682 -0.1314)
OKLCHoklch(69.64% 0.213 322)
XYZxyz(47.9200, 30.0445, 81.1010)
Luminance0.3004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866EA #78EA66
analogous
#9666EA #D866EA #EA66BA
triadic
#D866EA #EAD866 #66EAD8
tetradic
#D866EA #EA9666 #78EA66 #66BAEA
square
#D866EA #EA9666 #78EA66 #66BAEA
split-complementary
#D866EA #BAEA66 #66EA96
monochromatic
#A61ABC #CA30E3 #D866EA #E69CF1 #F3D2F9

Accessibility & contrast

On white

3.00
#D866EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#D866EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866EA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866EA#FFFFFF#000000##000000
##D866EA1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#7599E6
Tritanopia (blue-blind)
#DB799F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d866ea;
/* rgb */ color: rgb(216, 102, 234);
/* oklch */ color: oklch(69.6% 0.213 322.0);
Tailwind
colors: {
  custom: {
    50: '#e797f1',
    500: '#d866ea',
    950: '#000000',
  },
}
SCSS
$custom: #d866ea;
$custom-light: #e797f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d866ea",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 291.818,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69642,
    "c": 0.21345,
    "h": 322
  },
  "luminance": 0.30042
}

Semantic roles & 50–950 ramp

primary
#D866EA
secondary
#C6ECC0
accent
#D80D29
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866EA

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

Preview Lab → · Contrast checker → · Palette generator →

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