#D166E9#D166E9
#D166E9 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.7% C 0.209 H 320.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D166E9 |
|---|---|
| RGB | rgb(209, 102, 233) |
| HSL | hsl(289, 75%, 66%) |
| HSV | hsv(289, 56%, 91%) |
| CMYK | cmyk(10.3%, 56.2%, 0%, 8.6%) |
| CIE-LAB | lab(60.73, 61.12, -48.36) |
| CIE-LCH | lch(60.73, 77.94, 321.64°) |
| OKLab | oklab(68.73% 0.1601 -0.1345) |
| OKLCH | oklch(68.73% 0.209 320) |
| XYZ | xyz(45.7520, 28.9432, 80.2516) |
| Luminance | 0.2894 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.80
Bright Lilac
#C95EFB
ΔE00 3.91
Bright Lavender
#C760FF
ΔE00 4.47
Orchid
#DA70D6
ΔE00 5.09
Light Purple
#BF77F6
ΔE00 5.32
Easter Purple
#C071FE
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166E9 #7EE966
analogous
#8F66E9 #D166E9 #E966BF
triadic
#D166E9 #E9D166 #66E9D1
tetradic
#D166E9 #E98F66 #7EE966 #66BFE9
square
#D166E9 #E98F66 #7EE966 #66BFE9
split-complementary
#D166E9 #BFE966 #66E98F
monochromatic
#9D1BBA #C130E1 #D166E9 #E19CF1 #F1D1F8
Accessibility & contrast
On white
3.09
#D166E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#D166E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166E9
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166E9 | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8BED
Deuteranopia (green-blind)
#7096E6
Tritanopia (blue-blind)
#D27A9E
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d166e9; /* rgb */ color: rgb(209, 102, 233); /* oklch */ color: oklch(68.7% 0.209 320.0);
Tailwind
colors: {
custom: {
50: '#e296f0',
500: '#d166e9',
950: '#000000',
},
}SCSS
$custom: #d166e9; $custom-light: #e296f0; $custom-dark: #000000;
JSON
{
"hex": "#d166e9",
"rgb": {
"r": 209,
"g": 102,
"b": 233
},
"hsl": {
"h": 289.008,
"s": 74.857,
"l": 65.686
},
"oklch": {
"l": 0.68733,
"c": 0.20915,
"h": 320
},
"luminance": 0.28941
}Semantic roles & 50–950 ramp
primary
#D166E9
secondary
#C8EBC0
accent
#D70E33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85