#E170F6#E170F6
#E170F6 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.6% C 0.214 H 321.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #E170F6 |
|---|---|
| RGB | rgb(225, 112, 246) |
| HSL | hsl(291, 88%, 70%) |
| HSV | hsv(291, 54%, 96%) |
| CMYK | cmyk(8.5%, 54.5%, 0%, 3.5%) |
| CIE-LAB | lab(65.16, 62.94, -48.43) |
| CIE-LCH | lch(65.16, 79.42, 322.42°) |
| OKLab | oklab(72.62% 0.1668 -0.1344) |
| OKLCH | oklch(72.62% 0.214 321.1) |
| XYZ | xyz(53.4782, 34.2521, 90.9653) |
| Luminance | 0.3425 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.03
Light Magenta
#FA5FF7
ΔE00 4.09
Purply Pink
#F075E6
ΔE00 4.79
Orchid
#DA70D6
ΔE00 5.06
Violet (CSS)
#EE82EE
ΔE00 5.25
Candy Pink
#FF63E9
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E170F6 #85F670
analogous
#9E70F6 #E170F6 #F670C8
triadic
#E170F6 #F6E170 #70F6E1
tetradic
#E170F6 #F69E70 #85F670 #70C8F6
square
#E170F6 #F69E70 #85F670 #70C8F6
split-complementary
#E170F6 #C8F670 #70F69E
monochromatic
#BD0EDE #D536F2 #E170F6 #EDAAFA #F9E2FD
Accessibility & contrast
On white
2.68
#E170F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#E170F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E170F6
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E170F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E170F6 | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#7DA2F2
Tritanopia (blue-blind)
#E383A9
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e170f6; /* rgb */ color: rgb(225, 112, 246); /* oklch */ color: oklch(72.6% 0.214 321.1);
Tailwind
colors: {
custom: {
50: '#ed9ef9',
500: '#e170f6',
950: '#000000',
},
}SCSS
$custom: #e170f6; $custom-light: #ed9ef9; $custom-dark: #000000;
JSON
{
"hex": "#e170f6",
"rgb": {
"r": 225,
"g": 112,
"b": 246
},
"hsl": {
"h": 290.597,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.72617,
"c": 0.21422,
"h": 321.1
},
"luminance": 0.3425
}Semantic roles & 50–950 ramp
primary
#E170F6
secondary
#D4F3CE
accent
#E50124
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85