#D166DB#D166DB
#D166DB is a light, vivid purple. Relative luminance 0.282; OKLCH L 68.0% C 0.196 H 324.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D166DB |
|---|---|
| RGB | rgb(209, 102, 219) |
| HSL | hsl(295, 62%, 63%) |
| HSV | hsv(295, 53%, 86%) |
| CMYK | cmyk(4.6%, 53.4%, 0%, 14.1%) |
| CIE-LAB | lab(60.05, 58.51, -41.61) |
| CIE-LCH | lch(60.05, 71.79, 324.58°) |
| OKLab | oklab(68.01% 0.1589 -0.115) |
| OKLCH | oklch(68.01% 0.196 324.1) |
| XYZ | xyz(43.8309, 28.1748, 70.1336) |
| Luminance | 0.2817 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.47
Pinkish Purple
#D648D7
ΔE00 5.01
Heliotrope
#D94FF5
ΔE00 5.14
Purpleish Pink
#DF4EC8
ΔE00 5.45
Orchid (survey)
#C875C4
ΔE00 5.55
Bright Lilac
#C95EFB
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166DB #70DB66
analogous
#9666DB #D166DB #DB66AA
triadic
#D166DB #DBD166 #66DBD1
tetradic
#D166DB #DB9666 #70DB66 #66AADB
square
#D166DB #DB9666 #70DB66 #66AADB
split-complementary
#D166DB #AADB66 #66DB96
monochromatic
#9626A1 #C234CF #D166DB #E098E7 #EFC9F2
Accessibility & contrast
On white
3.17
#D166DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#D166DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166DB
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166DB | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#7895D8
Tritanopia (blue-blind)
#D57597
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #d166db; /* rgb */ color: rgb(209, 102, 219); /* oklch */ color: oklch(68.0% 0.196 324.1);
Tailwind
colors: {
custom: {
50: '#e296e6',
500: '#d166db',
950: '#000000',
},
}SCSS
$custom: #d166db; $custom-light: #e296e6; $custom-dark: #000000;
JSON
{
"hex": "#d166db",
"rgb": {
"r": 209,
"g": 102,
"b": 219
},
"hsl": {
"h": 294.872,
"s": 61.905,
"l": 62.941
},
"oklch": {
"l": 0.68008,
"c": 0.19613,
"h": 324.1
},
"luminance": 0.28173
}Semantic roles & 50–950 ramp
primary
#D166DB
secondary
#BDE3B9
accent
#CA1C2B
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84