#D166F3#D166F3
#D166F3 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.3% C 0.219 H 317.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D166F3 |
|---|---|
| RGB | rgb(209, 102, 243) |
| HSL | hsl(286, 85%, 68%) |
| HSV | hsv(286, 58%, 95%) |
| CMYK | cmyk(14%, 58%, 0%, 4.7%) |
| CIE-LAB | lab(61.25, 63.04, -53.10) |
| CIE-LCH | lch(61.25, 82.43, 319.89°) |
| OKLab | oklab(69.28% 0.1607 -0.1483) |
| OKLCH | oklch(69.28% 0.219 317.3) |
| XYZ | xyz(47.2212, 29.5309, 87.9893) |
| Luminance | 0.2953 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.79
Bright Lavender
#C760FF
ΔE00 3.21
Heliotrope
#D94FF5
ΔE00 3.53
Easter Purple
#C071FE
ΔE00 4.20
Light Purple
#BF77F6
ΔE00 4.52
Light Urple
#B36FF6
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166F3 #88F366
analogous
#8A66F3 #D166F3 #F366CE
triadic
#D166F3 #F3D166 #66F3D1
tetradic
#D166F3 #F38A66 #88F366 #66CEF3
square
#D166F3 #F38A66 #88F366 #66CEF3
split-complementary
#D166F3 #CEF366 #66F38A
monochromatic
#A110CE #C02DEF #D166F3 #E29FF7 #F3D7FC
Accessibility & contrast
On white
3.04
#D166F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#D166F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166F3
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166F3 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#418DF7
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#D07DA3
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d166f3; /* rgb */ color: rgb(209, 102, 243); /* oklch */ color: oklch(69.3% 0.219 317.3);
Tailwind
colors: {
custom: {
50: '#e297f8',
500: '#d166f3',
950: '#000000',
},
}SCSS
$custom: #d166f3; $custom-light: #e297f8; $custom-dark: #000000;
JSON
{
"hex": "#d166f3",
"rgb": {
"r": 209,
"g": 102,
"b": 243
},
"hsl": {
"h": 285.532,
"s": 85.455,
"l": 67.647
},
"oklch": {
"l": 0.69277,
"c": 0.21867,
"h": 317.3
},
"luminance": 0.29529
}Semantic roles & 50–950 ramp
primary
#D166F3
secondary
#CFF0C5
accent
#E20439
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85