#D166ED#D166ED
#D166ED is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 68.9% C 0.213 H 318.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #D166ED |
|---|---|
| RGB | rgb(209, 102, 237) |
| HSL | hsl(288, 79%, 66%) |
| HSV | hsv(288, 57%, 93%) |
| CMYK | cmyk(11.8%, 57%, 0%, 7.1%) |
| CIE-LAB | lab(60.94, 61.88, -50.27) |
| CIE-LCH | lch(60.94, 79.73, 320.91°) |
| OKLab | oklab(68.95% 0.1604 -0.1401) |
| OKLCH | oklch(68.95% 0.213 318.9) |
| XYZ | xyz(46.3299, 29.1744, 83.2951) |
| Luminance | 0.2917 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.41
Heliotrope
#D94FF5
ΔE00 3.61
Bright Lavender
#C760FF
ΔE00 3.93
Easter Purple
#C071FE
ΔE00 4.86
Light Purple
#BF77F6
ΔE00 4.95
Orchid
#DA70D6
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166ED #82ED66
analogous
#8E66ED #D166ED #ED66C5
triadic
#D166ED #EDD166 #66EDD1
tetradic
#D166ED #ED8E66 #82ED66 #66C5ED
square
#D166ED #ED8E66 #82ED66 #66C5ED
split-complementary
#D166ED #C5ED66 #66ED8E
monochromatic
#9E17C2 #C12FE7 #D166ED #E19DF3 #F2D4FA
Accessibility & contrast
On white
3.07
#D166ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#D166ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166ED
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166ED | 1.00 | 3.07 | 6.83 | 6.83 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478CF1
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#D17BA0
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d166ed; /* rgb */ color: rgb(209, 102, 237); /* oklch */ color: oklch(68.9% 0.213 318.9);
Tailwind
colors: {
custom: {
50: '#e297f3',
500: '#d166ed',
950: '#000000',
},
}SCSS
$custom: #d166ed; $custom-light: #e297f3; $custom-dark: #000000;
JSON
{
"hex": "#d166ed",
"rgb": {
"r": 209,
"g": 102,
"b": 237
},
"hsl": {
"h": 287.556,
"s": 78.947,
"l": 66.471
},
"oklch": {
"l": 0.68948,
"c": 0.21294,
"h": 318.9
},
"luminance": 0.29172
}Semantic roles & 50–950 ramp
primary
#D166ED
secondary
#CBEDC2
accent
#DB0A36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85