#E166F6#E166F6
#E166F6 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.4% C 0.229 H 321.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #E166F6 |
|---|---|
| RGB | rgb(225, 102, 246) |
| HSL | hsl(291, 89%, 68%) |
| HSV | hsv(291, 59%, 96%) |
| CMYK | cmyk(8.5%, 58.5%, 0%, 3.5%) |
| CIE-LAB | lab(63.48, 67.49, -51.09) |
| CIE-LCH | lch(63.48, 84.65, 322.87°) |
| OKLab | oklab(71.39% 0.1792 -0.142) |
| OKLCH | oklch(71.39% 0.229 321.6) |
| XYZ | xyz(52.4354, 32.1667, 90.6177) |
| Luminance | 0.3216 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.87
Light Magenta
#FA5FF7
ΔE00 3.91
Heliotrope
#D94FF5
ΔE00 4.44
Bright Lilac
#C95EFB
ΔE00 5.12
Orchid
#DA70D6
ΔE00 5.43
Bright Lavender
#C760FF
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166F6 #7BF666
analogous
#9966F6 #E166F6 #F666C3
triadic
#E166F6 #F6E166 #66F6E1
tetradic
#E166F6 #F69966 #7BF666 #66C3F6
square
#E166F6 #F69966 #7BF666 #66C3F6
split-complementary
#E166F6 #C3F666 #66F699
monochromatic
#B80DD5 #D62CF3 #E166F6 #ECA0F9 #F8DAFD
Accessibility & contrast
On white
2.83
#E166F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#E166F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166F6
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166F6 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#769EF2
Tritanopia (blue-blind)
#E37CA5
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #e166f6; /* rgb */ color: rgb(225, 102, 246); /* oklch */ color: oklch(71.4% 0.229 321.6);
Tailwind
colors: {
custom: {
50: '#ed98fa',
500: '#e166f6',
950: '#000000',
},
}SCSS
$custom: #e166f6; $custom-light: #ed98fa; $custom-dark: #000000;
JSON
{
"hex": "#e166f6",
"rgb": {
"r": 225,
"g": 102,
"b": 246
},
"hsl": {
"h": 291.25,
"s": 88.889,
"l": 68.235
},
"oklch": {
"l": 0.71388,
"c": 0.22863,
"h": 321.6
},
"luminance": 0.32164
}Semantic roles & 50–950 ramp
primary
#E166F6
secondary
#CCF2C6
accent
#E60021
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85