#E166F1#E166F1
#E166F1 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.1% C 0.224 H 322.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #E166F1 |
|---|---|
| RGB | rgb(225, 102, 241) |
| HSL | hsl(293, 83%, 67%) |
| HSV | hsv(293, 58%, 95%) |
| CMYK | cmyk(6.6%, 57.7%, 0%, 5.5%) |
| CIE-LAB | lab(63.23, 66.58, -48.72) |
| CIE-LCH | lch(63.23, 82.51, 323.81°) |
| OKLab | oklab(71.12% 0.1789 -0.1352) |
| OKLCH | oklch(71.12% 0.224 322.9) |
| XYZ | xyz(51.6783, 31.8638, 86.6303) |
| Luminance | 0.3186 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.74
Violet Pink
#FB5FFC
ΔE00 3.83
Heliotrope
#D94FF5
ΔE00 4.57
Orchid
#DA70D6
ΔE00 4.73
Purply Pink
#F075E6
ΔE00 5.28
Bright Lilac
#C95EFB
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166F1 #76F166
analogous
#9C66F1 #E166F1 #F166BB
triadic
#E166F1 #F1E166 #66F1E1
tetradic
#E166F1 #F19C66 #76F166 #66BBF1
square
#E166F1 #F19C66 #76F166 #66BBF1
split-complementary
#E166F1 #BBF166 #66F19C
monochromatic
#B512CA #D62EEC #E166F1 #EC9EF6 #F7D6FB
Accessibility & contrast
On white
2.85
#E166F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#E166F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166F1
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166F1 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D90F5
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#E47AA2
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e166f1; /* rgb */ color: rgb(225, 102, 241); /* oklch */ color: oklch(71.1% 0.224 322.9);
Tailwind
colors: {
custom: {
50: '#ed98f6',
500: '#e166f1',
950: '#000000',
},
}SCSS
$custom: #e166f1; $custom-light: #ed98f6; $custom-dark: #000000;
JSON
{
"hex": "#e166f1",
"rgb": {
"r": 225,
"g": 102,
"b": 241
},
"hsl": {
"h": 293.094,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.71124,
"c": 0.22419,
"h": 322.9
},
"luminance": 0.31861
}Semantic roles & 50–950 ramp
primary
#E166F1
secondary
#C9EFC3
accent
#E0061F
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#170E17
muted
#857E85