#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 |
|---|---|
| RGB | rgb(216, 102, 229) |
| HSL | hsl(294, 71%, 65%) |
| HSV | hsv(294, 55%, 90%) |
| CMYK | cmyk(5.7%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(61.45, 62.15, -44.94) |
| CIE-LCH | lch(61.45, 76.70, 324.13°) |
| OKLab | oklab(69.38% 0.1678 -0.1244) |
| OKLCH | oklch(69.38% 0.209 323.4) |
| XYZ | xyz(47.2118, 29.7612, 77.3712) |
| Luminance | 0.2976 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.73
Heliotrope
#D94FF5
ΔE00 4.48
Light Magenta
#FA5FF7
ΔE00 5.23
Bright Lilac
#C95EFB
ΔE00 5.40
Violet Pink
#FB5FFC
ΔE00 5.50
Pinkish Purple
#D648D7
ΔE00 5.60
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 |
|---|---|---|---|---|
| ##D866E5 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.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