#E170F2#E170F2
#E170F2 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.4% C 0.211 H 322.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #E170F2 |
|---|---|
| RGB | rgb(225, 112, 242) |
| HSL | hsl(292, 83%, 69%) |
| HSV | hsv(292, 54%, 95%) |
| CMYK | cmyk(7%, 53.7%, 0%, 5.1%) |
| CIE-LAB | lab(64.97, 62.20, -46.53) |
| CIE-LCH | lch(64.97, 77.68, 323.20°) |
| OKLab | oklab(72.41% 0.1665 -0.1289) |
| OKLCH | oklch(72.41% 0.211 322.3) |
| XYZ | xyz(52.8708, 34.0092, 87.7667) |
| Luminance | 0.3401 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.96
Violet Pink
#FB5FFC
ΔE00 4.01
Purply Pink
#F075E6
ΔE00 4.30
Orchid
#DA70D6
ΔE00 4.45
Violet (CSS)
#EE82EE
ΔE00 4.96
Candy Pink
#FF63E9
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E170F2 #81F270
analogous
#A070F2 #E170F2 #F270C2
triadic
#E170F2 #F2E170 #70F2E1
tetradic
#E170F2 #F2A070 #81F270 #70C2F2
square
#E170F2 #F2A070 #81F270 #70C2F2
split-complementary
#E170F2 #C2F270 #70F2A0
monochromatic
#BB13D4 #D538ED #E170F2 #EDA8F7 #F9E0FC
Accessibility & contrast
On white
2.69
#E170F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#E170F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E170F2
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E170F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E170F2 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#7FA2EE
Tritanopia (blue-blind)
#E482A7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e170f2; /* rgb */ color: rgb(225, 112, 242); /* oklch */ color: oklch(72.4% 0.211 322.3);
Tailwind
colors: {
custom: {
50: '#ed9ef7',
500: '#e170f2',
950: '#000000',
},
}SCSS
$custom: #e170f2; $custom-light: #ed9ef7; $custom-dark: #000000;
JSON
{
"hex": "#e170f2",
"rgb": {
"r": 225,
"g": 112,
"b": 242
},
"hsl": {
"h": 292.154,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.72413,
"c": 0.21052,
"h": 322.3
},
"luminance": 0.34007
}Semantic roles & 50–950 ramp
primary
#E170F2
secondary
#D1F2CC
accent
#E00622
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85