#E172FC#E172FC
#E172FC is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.2% C 0.217 H 319.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #E172FC |
|---|---|
| RGB | rgb(225, 114, 252) |
| HSL | hsl(288, 96%, 72%) |
| HSV | hsv(288, 55%, 99%) |
| CMYK | cmyk(10.7%, 54.8%, 0%, 1.2%) |
| CIE-LAB | lab(65.81, 63.13, -50.71) |
| CIE-LCH | lch(65.81, 80.98, 321.22°) |
| OKLab | oklab(73.18% 0.1648 -0.141) |
| OKLCH | oklch(73.18% 0.217 319.4) |
| XYZ | xyz(54.6371, 35.0727, 95.9683) |
| Luminance | 0.3507 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.36
Light Magenta
#FA5FF7
ΔE00 4.56
Purply Pink
#F075E6
ΔE00 5.42
Violet (CSS)
#EE82EE
ΔE00 5.51
Light Purple
#BF77F6
ΔE00 5.77
Orchid
#DA70D6
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E172FC #8DFC72
analogous
#9C72FC #E172FC #FC72D2
triadic
#E172FC #FCE172 #72FCE1
tetradic
#E172FC #FC9C72 #8DFC72 #72D2FC
square
#E172FC #FC9C72 #8DFC72 #72D2FC
split-complementary
#E172FC #D2FC72 #72FC9C
monochromatic
#C105EF #D436FB #E172FC #EEAEFD #F9E1FE
Accessibility & contrast
On white
2.62
#E172FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#E172FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E172FC
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E172FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E172FC | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#7BA4F8
Tritanopia (blue-blind)
#E287AD
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #e172fc; /* rgb */ color: rgb(225, 114, 252); /* oklch */ color: oklch(73.2% 0.217 319.4);
Tailwind
colors: {
custom: {
50: '#ed9ffe',
500: '#e172fc',
950: '#000000',
},
}SCSS
$custom: #e172fc; $custom-light: #ed9ffe; $custom-dark: #000000;
JSON
{
"hex": "#e172fc",
"rgb": {
"r": 225,
"g": 114,
"b": 252
},
"hsl": {
"h": 288.261,
"s": 95.833,
"l": 71.765
},
"oklch": {
"l": 0.73184,
"c": 0.21689,
"h": 319.4
},
"luminance": 0.3507
}Semantic roles & 50–950 ramp
primary
#E172FC
secondary
#DAF6D3
accent
#E6002D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86