#E166F2#E166F2
#E166F2 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.2% C 0.225 H 322.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E166F2 |
|---|---|
| RGB | rgb(225, 102, 242) |
| HSL | hsl(293, 84%, 67%) |
| HSV | hsv(293, 58%, 95%) |
| CMYK | cmyk(7%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(63.28, 66.76, -49.20) |
| CIE-LCH | lch(63.28, 82.93, 323.61°) |
| OKLab | oklab(71.18% 0.1789 -0.1365) |
| OKLCH | oklch(71.18% 0.225 322.6) |
| XYZ | xyz(51.8281, 31.9237, 87.4191) |
| Luminance | 0.3192 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.76
Violet Pink
#FB5FFC
ΔE00 3.83
Heliotrope
#D94FF5
ΔE00 4.54
Orchid
#DA70D6
ΔE00 4.87
Purply Pink
#F075E6
ΔE00 5.37
Bright Lilac
#C95EFB
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166F2 #77F266
analogous
#9B66F2 #E166F2 #F266BD
triadic
#E166F2 #F2E166 #66F2E1
tetradic
#E166F2 #F29B66 #77F266 #66BDF2
square
#E166F2 #F29B66 #77F266 #66BDF2
split-complementary
#E166F2 #BDF266 #66F29B
monochromatic
#B611CC #D62EED #E166F2 #EC9EF7 #F7D7FC
Accessibility & contrast
On white
2.84
#E166F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#E166F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166F2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166F2 | 1.00 | 2.84 | 7.38 | 7.38 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#E47AA3
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e166f2; /* rgb */ color: rgb(225, 102, 242); /* oklch */ color: oklch(71.2% 0.225 322.6);
Tailwind
colors: {
custom: {
50: '#ed98f7',
500: '#e166f2',
950: '#000000',
},
}SCSS
$custom: #e166f2; $custom-light: #ed98f7; $custom-dark: #000000;
JSON
{
"hex": "#e166f2",
"rgb": {
"r": 225,
"g": 102,
"b": 242
},
"hsl": {
"h": 292.714,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.71177,
"c": 0.22507,
"h": 322.6
},
"luminance": 0.31921
}Semantic roles & 50–950 ramp
primary
#E166F2
secondary
#C9F0C4
accent
#E1051F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85