#E166F9#E166F9
#E166F9 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.5% C 0.231 H 320.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #E166F9 |
|---|---|
| RGB | rgb(225, 102, 249) |
| HSL | hsl(290, 92%, 69%) |
| HSV | hsv(290, 59%, 98%) |
| CMYK | cmyk(9.6%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(63.63, 68.04, -52.50) |
| CIE-LCH | lch(63.63, 85.94, 322.34°) |
| OKLab | oklab(71.55% 0.1793 -0.1462) |
| OKLCH | oklch(71.55% 0.231 320.8) |
| XYZ | xyz(52.8996, 32.3523, 93.0623) |
| Luminance | 0.3235 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.96
Light Magenta
#FA5FF7
ΔE00 4.08
Heliotrope
#D94FF5
ΔE00 4.43
Bright Lilac
#C95EFB
ΔE00 4.94
Bright Lavender
#C760FF
ΔE00 5.28
Orchid
#DA70D6
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166F9 #7EF966
analogous
#9866F9 #E166F9 #F966C8
triadic
#E166F9 #F9E166 #66F9E1
tetradic
#E166F9 #F99866 #7EF966 #66C8F9
square
#E166F9 #F99866 #7EF966 #66C8F9
split-complementary
#E166F9 #C8F966 #66F998
monochromatic
#B909DC #D52BF7 #E166F9 #EDA1FB #F8DCFE
Accessibility & contrast
On white
2.81
#E166F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#E166F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166F9
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166F9 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4691FE
Deuteranopia (green-blind)
#749FF5
Tritanopia (blue-blind)
#E37DA6
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #e166f9; /* rgb */ color: rgb(225, 102, 249); /* oklch */ color: oklch(71.5% 0.231 320.8);
Tailwind
colors: {
custom: {
50: '#ee98fc',
500: '#e166f9',
950: '#000000',
},
}SCSS
$custom: #e166f9; $custom-light: #ee98fc; $custom-dark: #000000;
JSON
{
"hex": "#e166f9",
"rgb": {
"r": 225,
"g": 102,
"b": 249
},
"hsl": {
"h": 290.204,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.71548,
"c": 0.23132,
"h": 320.8
},
"luminance": 0.3235
}Semantic roles & 50–950 ramp
primary
#E166F9
secondary
#CFF3C8
accent
#E60025
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85