#D866F9#D866F9
#D866F9 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.5% C 0.227 H 318.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D866F9 |
|---|---|
| RGB | rgb(216, 102, 249) |
| HSL | hsl(287, 92%, 69%) |
| HSV | hsv(287, 59%, 98%) |
| CMYK | cmyk(13.3%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(62.46, 65.89, -54.44) |
| CIE-LCH | lch(62.46, 85.47, 320.43°) |
| OKLab | oklab(70.45% 0.169 -0.152) |
| OKLCH | oklch(70.45% 0.227 318) |
| XYZ | xyz(50.1668, 30.9432, 92.9342) |
| Luminance | 0.3094 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.46
Heliotrope
#D94FF5
ΔE00 3.77
Bright Lavender
#C760FF
ΔE00 3.78
Easter Purple
#C071FE
ΔE00 4.64
Light Purple
#BF77F6
ΔE00 5.01
Violet Pink
#FB5FFC
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D866F9 #87F966
analogous
#8F66F9 #D866F9 #F966D0
triadic
#D866F9 #F9D866 #66F9D8
tetradic
#D866F9 #F98F66 #87F966 #66D0F9
square
#D866F9 #F98F66 #87F966 #66D0F9
split-complementary
#D866F9 #D0F966 #66F98F
monochromatic
#AD09DC #C92BF7 #D866F9 #E7A1FB #F6DCFE
Accessibility & contrast
On white
2.92
#D866F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#D866F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D866F9
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D866F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D866F9 | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F90FE
Deuteranopia (green-blind)
#6C9BF5
Tritanopia (blue-blind)
#D77EA6
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #d866f9; /* rgb */ color: rgb(216, 102, 249); /* oklch */ color: oklch(70.5% 0.227 318.0);
Tailwind
colors: {
custom: {
50: '#e797fc',
500: '#d866f9',
950: '#000000',
},
}SCSS
$custom: #d866f9; $custom-light: #e797fc; $custom-dark: #000000;
JSON
{
"hex": "#d866f9",
"rgb": {
"r": 216,
"g": 102,
"b": 249
},
"hsl": {
"h": 286.531,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.7045,
"c": 0.22733,
"h": 318
},
"luminance": 0.30941
}Semantic roles & 50–950 ramp
primary
#D866F9
secondary
#D1F3C8
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85