#D866E4#D866E4

#D866E4 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.3% C 0.208 H 323.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#D866E4
RGBrgb(216, 102, 228)
HSLhsl(294, 70%, 65%)
HSVhsv(294, 55%, 89%)
CMYKcmyk(5.3%, 55.3%, 0%, 10.6%)
CIE-LABlab(61.40, 61.97, -44.46)
CIE-LCHlch(61.40, 76.27, 324.34°)
OKLaboklab(69.33% 0.1677 -0.123)
OKLCHoklch(69.33% 0.208 323.7)
XYZxyz(47.0726, 29.7055, 76.6380)
Luminance0.2970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866E4 #72E466
analogous
#9966E4 #D866E4 #E466B1
triadic
#D866E4 #E4D866 #66E4D8
tetradic
#D866E4 #E49966 #72E466 #66B1E4
square
#D866E4 #E49966 #72E466 #66B1E4
split-complementary
#D866E4 #B1E466 #66E499
monochromatic
#A31FB0 #CB32DB #D866E4 #E59AED #F3CEF6

Accessibility & contrast

On white

3.03
#D866E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#D866E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866E4
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866E4#FFFFFF#000000##000000
##D866E41.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE8
Deuteranopia (green-blind)
#7999E1
Tritanopia (blue-blind)
#DC779C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d866e4;
/* rgb */ color: rgb(216, 102, 228);
/* oklch */ color: oklch(69.3% 0.208 323.7);
Tailwind
colors: {
  custom: {
    50: '#e797ed',
    500: '#d866e4',
    950: '#000000',
  },
}
SCSS
$custom: #d866e4;
$custom-light: #e797ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d866e4",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 294.286,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69332,
    "c": 0.20802,
    "h": 323.7
  },
  "luminance": 0.29703
}

Semantic roles & 50–950 ramp

primary
#D866E4
secondary
#C1E9BD
accent
#D21426
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D866E4

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

Preview Lab → · Contrast checker → · Palette generator →

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