#D166EA#D166EA
#D166EA is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 68.8% C 0.210 H 319.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D166EA |
|---|---|
| RGB | rgb(209, 102, 234) |
| HSL | hsl(289, 76%, 66%) |
| HSV | hsv(289, 56%, 92%) |
| CMYK | cmyk(10.7%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(60.78, 61.31, -48.84) |
| CIE-LCH | lch(60.78, 78.38, 321.46°) |
| OKLab | oklab(68.79% 0.1602 -0.1359) |
| OKLCH | oklch(68.79% 0.21 319.7) |
| XYZ | xyz(45.8953, 29.0005, 81.0061) |
| Luminance | 0.2900 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.74
Bright Lilac
#C95EFB
ΔE00 3.78
Bright Lavender
#C760FF
ΔE00 4.33
Orchid
#DA70D6
ΔE00 5.21
Light Purple
#BF77F6
ΔE00 5.22
Easter Purple
#C071FE
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166EA #7FEA66
analogous
#8F66EA #D166EA #EA66C1
triadic
#D166EA #EAD166 #66EAD1
tetradic
#D166EA #EA8F66 #7FEA66 #66C1EA
square
#D166EA #EA8F66 #7FEA66 #66C1EA
split-complementary
#D166EA #C1EA66 #66EA8F
monochromatic
#9D1ABC #C130E3 #D166EA #E19CF1 #F1D2F9
Accessibility & contrast
On white
3.09
#D166EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#D166EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166EA
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166EA | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8BEE
Deuteranopia (green-blind)
#7096E7
Tritanopia (blue-blind)
#D27A9F
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d166ea; /* rgb */ color: rgb(209, 102, 234); /* oklch */ color: oklch(68.8% 0.210 319.7);
Tailwind
colors: {
custom: {
50: '#e296f1',
500: '#d166ea',
950: '#000000',
},
}SCSS
$custom: #d166ea; $custom-light: #e296f1; $custom-dark: #000000;
JSON
{
"hex": "#d166ea",
"rgb": {
"r": 209,
"g": 102,
"b": 234
},
"hsl": {
"h": 288.636,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.68786,
"c": 0.2101,
"h": 319.7
},
"luminance": 0.28999
}Semantic roles & 50–950 ramp
primary
#D166EA
secondary
#C8ECC0
accent
#D80D34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85