#E170E4#E170E4
#E170E4 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.7% C 0.198 H 326.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #E170E4 |
|---|---|
| RGB | rgb(225, 112, 228) |
| HSL | hsl(298, 68%, 67%) |
| HSV | hsv(298, 51%, 89%) |
| CMYK | cmyk(1.3%, 50.9%, 0%, 10.6%) |
| CIE-LAB | lab(64.32, 59.68, -39.79) |
| CIE-LCH | lch(64.32, 71.72, 326.31°) |
| OKLab | oklab(71.73% 0.1648 -0.1094) |
| OKLCH | oklch(71.73% 0.198 326.4) |
| XYZ | xyz(50.8481, 33.2001, 77.1137) |
| Luminance | 0.3320 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.28
Purply Pink
#F075E6
ΔE00 2.99
Light Magenta
#FA5FF7
ΔE00 4.29
Violet (CSS)
#EE82EE
ΔE00 4.45
Candy Pink
#FF63E9
ΔE00 4.60
Violet Pink
#FB5FFC
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E170E4 #73E470
analogous
#A770E4 #E170E4 #E470AD
triadic
#E170E4 #E4E170 #70E4E1
tetradic
#E170E4 #E4A770 #73E470 #70ADE4
square
#E170E4 #E4A770 #73E470 #70ADE4
split-complementary
#E170E4 #ADE470 #70E4A7
monochromatic
#B323B7 #D63DDA #E170E4 #ECA3EE #F7D7F7
Accessibility & contrast
On white
2.75
#E170E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#E170E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E170E4
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E170E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E170E4 | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6493E8
Deuteranopia (green-blind)
#86A1E1
Tritanopia (blue-blind)
#E67DA0
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e170e4; /* rgb */ color: rgb(225, 112, 228); /* oklch */ color: oklch(71.7% 0.198 326.4);
Tailwind
colors: {
custom: {
50: '#ed9ded',
500: '#e170e4',
950: '#000000',
},
}SCSS
$custom: #e170e4; $custom-light: #ed9ded; $custom-dark: #000000;
JSON
{
"hex": "#e170e4",
"rgb": {
"r": 225,
"g": 112,
"b": 228
},
"hsl": {
"h": 298.448,
"s": 68.235,
"l": 66.667
},
"oklch": {
"l": 0.71726,
"c": 0.19785,
"h": 326.4
},
"luminance": 0.33197
}Semantic roles & 50–950 ramp
primary
#E170E4
secondary
#C6EBC5
accent
#D0151A
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84