#E170E7#E170E7
#E170E7 is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 71.9% C 0.201 H 325.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #E170E7 |
|---|---|
| RGB | rgb(225, 112, 231) |
| HSL | hsl(297, 71%, 67%) |
| HSV | hsv(297, 52%, 91%) |
| CMYK | cmyk(2.6%, 51.5%, 0%, 9.4%) |
| CIE-LAB | lab(64.46, 60.21, -41.24) |
| CIE-LCH | lch(64.46, 72.98, 325.59°) |
| OKLab | oklab(71.87% 0.1652 -0.1136) |
| OKLCH | oklch(71.87% 0.201 325.5) |
| XYZ | xyz(51.2682, 33.3681, 79.3261) |
| Luminance | 0.3337 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.74
Purply Pink
#F075E6
ΔE00 3.19
Light Magenta
#FA5FF7
ΔE00 4.11
Violet Pink
#FB5FFC
ΔE00 4.44
Violet (CSS)
#EE82EE
ΔE00 4.47
Candy Pink
#FF63E9
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E170E7 #76E770
analogous
#A670E7 #E170E7 #E770B1
triadic
#E170E7 #E7E170 #70E7E1
tetradic
#E170E7 #E7A670 #76E770 #70B1E7
square
#E170E7 #E7A670 #76E770 #70B1E7
split-complementary
#E170E7 #B1E770 #70E7A6
monochromatic
#B520BD #D63CDE #E170E7 #ECA4F0 #F7D9F9
Accessibility & contrast
On white
2.74
#E170E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#E170E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E170E7
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E170E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E170E7 | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6293EB
Deuteranopia (green-blind)
#85A1E4
Tritanopia (blue-blind)
#E67EA1
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e170e7; /* rgb */ color: rgb(225, 112, 231); /* oklch */ color: oklch(71.9% 0.201 325.5);
Tailwind
colors: {
custom: {
50: '#ed9def',
500: '#e170e7',
950: '#000000',
},
}SCSS
$custom: #e170e7; $custom-light: #ed9def; $custom-dark: #000000;
JSON
{
"hex": "#e170e7",
"rgb": {
"r": 225,
"g": 112,
"b": 231
},
"hsl": {
"h": 296.975,
"s": 71.257,
"l": 67.255
},
"oklch": {
"l": 0.7187,
"c": 0.20052,
"h": 325.5
},
"luminance": 0.33365
}Semantic roles & 50–950 ramp
primary
#E170E7
secondary
#C9ECC7
accent
#D3121C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84