#D166F4#D166F4
#D166F4 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.3% C 0.220 H 317.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #D166F4 |
|---|---|
| RGB | rgb(209, 102, 244) |
| HSL | hsl(285, 87%, 68%) |
| HSV | hsv(285, 58%, 96%) |
| CMYK | cmyk(14.3%, 58.2%, 0%, 4.3%) |
| CIE-LAB | lab(61.30, 63.24, -53.57) |
| CIE-LCH | lch(61.30, 82.88, 319.73°) |
| OKLab | oklab(69.33% 0.1607 -0.1497) |
| OKLCH | oklch(69.33% 0.22 317) |
| XYZ | xyz(47.3726, 29.5915, 88.7867) |
| Luminance | 0.2959 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.70
Bright Lavender
#C760FF
ΔE00 3.10
Heliotrope
#D94FF5
ΔE00 3.54
Easter Purple
#C071FE
ΔE00 4.10
Light Purple
#BF77F6
ΔE00 4.47
Light Urple
#B36FF6
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166F4 #89F466
analogous
#8A66F4 #D166F4 #F466D0
triadic
#D166F4 #F4D166 #66F4D1
tetradic
#D166F4 #F48A66 #89F466 #66D0F4
square
#D166F4 #F48A66 #89F466 #66D0F4
split-complementary
#D166F4 #D0F466 #66F48A
monochromatic
#A10FD1 #C02DF0 #D166F4 #E29FF8 #F3D8FC
Accessibility & contrast
On white
3.04
#D166F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#D166F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166F4
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166F4 | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408DF8
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#D07EA4
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d166f4; /* rgb */ color: rgb(209, 102, 244); /* oklch */ color: oklch(69.3% 0.220 317.0);
Tailwind
colors: {
custom: {
50: '#e297f8',
500: '#d166f4',
950: '#000000',
},
}SCSS
$custom: #d166f4; $custom-light: #e297f8; $custom-dark: #000000;
JSON
{
"hex": "#d166f4",
"rgb": {
"r": 209,
"g": 102,
"b": 244
},
"hsl": {
"h": 285.211,
"s": 86.585,
"l": 67.843
},
"oklch": {
"l": 0.69332,
"c": 0.21963,
"h": 317
},
"luminance": 0.2959
}Semantic roles & 50–950 ramp
primary
#D166F4
secondary
#D0F1C5
accent
#E3023A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85