#D166EB#D166EB
#D166EB is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 68.8% C 0.211 H 319.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #D166EB |
|---|---|
| RGB | rgb(209, 102, 235) |
| HSL | hsl(288, 77%, 66%) |
| HSV | hsv(288, 57%, 92%) |
| CMYK | cmyk(11.1%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(60.83, 61.50, -49.32) |
| CIE-LCH | lch(60.83, 78.83, 321.27°) |
| OKLab | oklab(68.84% 0.1603 -0.1373) |
| OKLCH | oklch(68.84% 0.211 319.4) |
| XYZ | xyz(46.0393, 29.0581, 81.7648) |
| Luminance | 0.2906 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.66
Heliotrope
#D94FF5
ΔE00 3.69
Bright Lavender
#C760FF
ΔE00 4.20
Easter Purple
#C071FE
ΔE00 5.11
Light Purple
#BF77F6
ΔE00 5.13
Orchid
#DA70D6
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166EB #80EB66
analogous
#8E66EB #D166EB #EB66C2
triadic
#D166EB #EBD166 #66EBD1
tetradic
#D166EB #EB8E66 #80EB66 #66C2EB
square
#D166EB #EB8E66 #80EB66 #66C2EB
split-complementary
#D166EB #C2EB66 #66EB8E
monochromatic
#9E19BE #C130E4 #D166EB #E19CF2 #F2D2F9
Accessibility & contrast
On white
3.08
#D166EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#D166EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166EB
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166EB | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#D27A9F
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d166eb; /* rgb */ color: rgb(209, 102, 235); /* oklch */ color: oklch(68.8% 0.211 319.4);
Tailwind
colors: {
custom: {
50: '#e297f2',
500: '#d166eb',
950: '#000000',
},
}SCSS
$custom: #d166eb; $custom-light: #e297f2; $custom-dark: #000000;
JSON
{
"hex": "#d166eb",
"rgb": {
"r": 209,
"g": 102,
"b": 235
},
"hsl": {
"h": 288.271,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.6884,
"c": 0.21104,
"h": 319.4
},
"luminance": 0.29056
}Semantic roles & 50–950 ramp
primary
#D166EB
secondary
#C9ECC1
accent
#D90C34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85