#E172F0#E172F0
#E172F0 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.6% C 0.206 H 322.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #E172F0 |
|---|---|
| RGB | rgb(225, 114, 240) |
| HSL | hsl(293, 81%, 69%) |
| HSV | hsv(293, 53%, 94%) |
| CMYK | cmyk(6.3%, 52.5%, 0%, 5.9%) |
| CIE-LAB | lab(65.23, 60.89, -45.02) |
| CIE-LCH | lch(65.23, 75.72, 323.52°) |
| OKLab | oklab(72.57% 0.1637 -0.1245) |
| OKLCH | oklch(72.57% 0.206 322.7) |
| XYZ | xyz(52.7952, 34.3360, 86.2677) |
| Luminance | 0.3433 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 3.91
Light Magenta
#FA5FF7
ΔE00 4.08
Orchid
#DA70D6
ΔE00 4.13
Violet Pink
#FB5FFC
ΔE00 4.17
Violet (CSS)
#EE82EE
ΔE00 4.50
Candy Pink
#FF63E9
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172F0 #81F072
analogous
#A272F0 #E172F0 #F072C0
triadic
#E172F0 #F0E172 #72F0E1
tetradic
#E172F0 #F0A272 #81F072 #72C0F0
square
#E172F0 #F0A272 #81F072 #72C0F0
split-complementary
#E172F0 #C0F072 #72F0A2
monochromatic
#BB16D1 #D53BEA #E172F0 #EDA9F6 #F9E1FC
Accessibility & contrast
On white
2.67
#E172F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#E172F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172F0
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172F0 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F96F4
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#E483A7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e172f0; /* rgb */ color: rgb(225, 114, 240); /* oklch */ color: oklch(72.6% 0.206 322.7);
Tailwind
colors: {
custom: {
50: '#ed9ff5',
500: '#e172f0',
950: '#000000',
},
}SCSS
$custom: #e172f0; $custom-light: #ed9ff5; $custom-dark: #000000;
JSON
{
"hex": "#e172f0",
"rgb": {
"r": 225,
"g": 114,
"b": 240
},
"hsl": {
"h": 292.857,
"s": 80.769,
"l": 69.412
},
"oklch": {
"l": 0.72572,
"c": 0.20566,
"h": 322.7
},
"luminance": 0.34333
}Semantic roles & 50–950 ramp
primary
#E172F0
secondary
#D1F1CD
accent
#DD0822
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#170F17
muted
#857F85