#E170F3#E170F3
#E170F3 is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.5% C 0.211 H 322.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #E170F3 |
|---|---|
| RGB | rgb(225, 112, 243) |
| HSL | hsl(292, 85%, 70%) |
| HSV | hsv(292, 54%, 95%) |
| CMYK | cmyk(7.4%, 53.9%, 0%, 4.7%) |
| CIE-LAB | lab(65.02, 62.39, -47.00) |
| CIE-LCH | lch(65.02, 78.11, 323.00°) |
| OKLab | oklab(72.46% 0.1666 -0.1303) |
| OKLCH | oklch(72.46% 0.211 322) |
| XYZ | xyz(53.0214, 34.0694, 88.5598) |
| Luminance | 0.3407 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.98
Violet Pink
#FB5FFC
ΔE00 4.00
Purply Pink
#F075E6
ΔE00 4.42
Orchid
#DA70D6
ΔE00 4.60
Violet (CSS)
#EE82EE
ΔE00 5.03
Candy Pink
#FF63E9
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E170F3 #82F370
analogous
#A070F3 #E170F3 #F370C3
triadic
#E170F3 #F3E170 #70F3E1
tetradic
#E170F3 #F3A070 #82F370 #70C3F3
square
#E170F3 #F3A070 #82F370 #70C3F3
split-complementary
#E170F3 #C3F370 #70F3A0
monochromatic
#BC12D7 #D538EE #E170F3 #EDA8F8 #F9E1FC
Accessibility & contrast
On white
2.69
#E170F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#E170F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E170F3
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E170F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E170F3 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F7
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#E482A7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e170f3; /* rgb */ color: rgb(225, 112, 243); /* oklch */ color: oklch(72.5% 0.211 322.0);
Tailwind
colors: {
custom: {
50: '#ed9ef7',
500: '#e170f3',
950: '#000000',
},
}SCSS
$custom: #e170f3; $custom-light: #ed9ef7; $custom-dark: #000000;
JSON
{
"hex": "#e170f3",
"rgb": {
"r": 225,
"g": 112,
"b": 243
},
"hsl": {
"h": 291.756,
"s": 84.516,
"l": 69.608
},
"oklch": {
"l": 0.72464,
"c": 0.21144,
"h": 322
},
"luminance": 0.34067
}Semantic roles & 50–950 ramp
primary
#E170F3
secondary
#D2F2CD
accent
#E10523
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85