#E172F1#E172F1
#E172F1 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.6% C 0.207 H 322.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #E172F1 |
|---|---|
| RGB | rgb(225, 114, 241) |
| HSL | hsl(292, 82%, 70%) |
| HSV | hsv(292, 53%, 95%) |
| CMYK | cmyk(6.6%, 52.7%, 0%, 5.5%) |
| CIE-LAB | lab(65.28, 61.07, -45.50) |
| CIE-LCH | lch(65.28, 76.16, 323.32°) |
| OKLab | oklab(72.62% 0.1638 -0.1259) |
| OKLCH | oklch(72.62% 0.207 322.4) |
| XYZ | xyz(52.9442, 34.3955, 87.0522) |
| Luminance | 0.3439 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 4.02
Light Magenta
#FA5FF7
ΔE00 4.09
Violet Pink
#FB5FFC
ΔE00 4.16
Orchid
#DA70D6
ΔE00 4.29
Violet (CSS)
#EE82EE
ΔE00 4.57
Candy Pink
#FF63E9
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172F1 #82F172
analogous
#A272F1 #E172F1 #F172C2
triadic
#E172F1 #F1E172 #72F1E1
tetradic
#E172F1 #F1A272 #82F172 #72C2F1
square
#E172F1 #F1A272 #82F172 #72C2F1
split-complementary
#E172F1 #C2F172 #72F1A2
monochromatic
#BC15D4 #D53AEB #E172F1 #EDAAF7 #F9E1FC
Accessibility & contrast
On white
2.67
#E172F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#E172F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172F1
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172F1 | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E96F5
Deuteranopia (green-blind)
#81A3ED
Tritanopia (blue-blind)
#E483A7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e172f1; /* rgb */ color: rgb(225, 114, 241); /* oklch */ color: oklch(72.6% 0.207 322.4);
Tailwind
colors: {
custom: {
50: '#ed9ff6',
500: '#e172f1',
950: '#000000',
},
}SCSS
$custom: #e172f1; $custom-light: #ed9ff6; $custom-dark: #000000;
JSON
{
"hex": "#e172f1",
"rgb": {
"r": 225,
"g": 114,
"b": 241
},
"hsl": {
"h": 292.441,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.72622,
"c": 0.20658,
"h": 322.4
},
"luminance": 0.34393
}Semantic roles & 50–950 ramp
primary
#E172F1
secondary
#D2F2CD
accent
#DE0722
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#170F17
muted
#857F85