#E166F0#E166F0
#E166F0 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.1% C 0.223 H 323.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #E166F0 |
|---|---|
| RGB | rgb(225, 102, 240) |
| HSL | hsl(293, 82%, 67%) |
| HSV | hsv(293, 58%, 94%) |
| CMYK | cmyk(6.3%, 57.5%, 0%, 5.9%) |
| CIE-LAB | lab(63.18, 66.41, -48.25) |
| CIE-LCH | lch(63.18, 82.08, 324.00°) |
| OKLab | oklab(71.07% 0.1788 -0.1338) |
| OKLCH | oklch(71.07% 0.223 323.2) |
| XYZ | xyz(51.5294, 31.8042, 85.8458) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.72
Violet Pink
#FB5FFC
ΔE00 3.84
Orchid
#DA70D6
ΔE00 4.59
Heliotrope
#D94FF5
ΔE00 4.62
Purply Pink
#F075E6
ΔE00 5.20
Candy Pink
#FF63E9
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166F0 #75F066
analogous
#9C66F0 #E166F0 #F066BA
triadic
#E166F0 #F0E166 #66F0E1
tetradic
#E166F0 #F09C66 #75F066 #66BAF0
square
#E166F0 #F09C66 #75F066 #66BAF0
split-complementary
#E166F0 #BAF066 #66F09C
monochromatic
#B414C8 #D62EEB #E166F0 #EC9EF5 #F7D5FB
Accessibility & contrast
On white
2.85
#E166F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#E166F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E166F0
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166F0 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E90F4
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#E47AA2
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #e166f0; /* rgb */ color: rgb(225, 102, 240); /* oklch */ color: oklch(71.1% 0.223 323.2);
Tailwind
colors: {
custom: {
50: '#ed98f5',
500: '#e166f0',
950: '#000000',
},
}SCSS
$custom: #e166f0; $custom-light: #ed98f5; $custom-dark: #000000;
JSON
{
"hex": "#e166f0",
"rgb": {
"r": 225,
"g": 102,
"b": 240
},
"hsl": {
"h": 293.478,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.71072,
"c": 0.22331,
"h": 323.2
},
"luminance": 0.31802
}Semantic roles & 50–950 ramp
primary
#E166F0
secondary
#C8EFC3
accent
#DF071E
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#170E17
muted
#857E85