#E166F4#E166F4
#E166F4 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.3% C 0.227 H 322.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #E166F4 |
|---|---|
| RGB | rgb(225, 102, 244) |
| HSL | hsl(292, 87%, 68%) |
| HSV | hsv(292, 58%, 96%) |
| CMYK | cmyk(7.8%, 58.2%, 0%, 4.3%) |
| CIE-LAB | lab(63.38, 67.13, -50.14) |
| CIE-LCH | lch(63.38, 83.79, 323.24°) |
| OKLab | oklab(71.28% 0.179 -0.1393) |
| OKLCH | oklch(71.28% 0.227 322.1) |
| XYZ | xyz(52.1301, 32.0445, 89.0097) |
| Luminance | 0.3204 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.83
Violet Pink
#FB5FFC
ΔE00 3.84
Heliotrope
#D94FF5
ΔE00 4.48
Orchid
#DA70D6
ΔE00 5.15
Bright Lilac
#C95EFB
ΔE00 5.26
Purply Pink
#F075E6
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166F4 #79F466
analogous
#9A66F4 #E166F4 #F466C0
triadic
#E166F4 #F4E166 #66F4E1
tetradic
#E166F4 #F49A66 #79F466 #66C0F4
square
#E166F4 #F49A66 #79F466 #66C0F4
split-complementary
#E166F4 #C0F466 #66F49A
monochromatic
#B70FD1 #D62DF0 #E166F4 #EC9FF8 #F7D8FC
Accessibility & contrast
On white
2.83
#E166F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#E166F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166F4
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166F4 | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A90F8
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#E47BA4
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e166f4; /* rgb */ color: rgb(225, 102, 244); /* oklch */ color: oklch(71.3% 0.227 322.1);
Tailwind
colors: {
custom: {
50: '#ed98f8',
500: '#e166f4',
950: '#000000',
},
}SCSS
$custom: #e166f4; $custom-light: #ed98f8; $custom-dark: #000000;
JSON
{
"hex": "#e166f4",
"rgb": {
"r": 225,
"g": 102,
"b": 244
},
"hsl": {
"h": 291.972,
"s": 86.585,
"l": 67.843
},
"oklch": {
"l": 0.71282,
"c": 0.22685,
"h": 322.1
},
"luminance": 0.32042
}Semantic roles & 50–950 ramp
primary
#E166F4
secondary
#CBF1C5
accent
#E30220
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85