#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 |
|---|---|
| RGB | rgb(216, 102, 231) |
| HSL | hsl(293, 73%, 65%) |
| HSV | hsv(293, 56%, 91%) |
| CMYK | cmyk(6.5%, 55.8%, 0%, 9.4%) |
| CIE-LAB | lab(61.55, 62.52, -45.90) |
| CIE-LCH | lch(61.55, 77.56, 323.71°) |
| OKLab | oklab(69.49% 0.168 -0.1272) |
| OKLCH | oklch(69.49% 0.211 322.9) |
| XYZ | xyz(47.4926, 29.8736, 78.8504) |
| Luminance | 0.2987 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.00
Heliotrope
#D94FF5
ΔE00 4.31
Bright Lilac
#C95EFB
ΔE00 5.14
Light Magenta
#FA5FF7
ΔE00 5.19
Violet Pink
#FB5FFC
ΔE00 5.42
Bright Lavender
#C760FF
ΔE00 5.71
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 |
|---|---|---|---|---|
| ##D866E7 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.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