#E174F2#E174F2
#E174F2 is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 72.9% C 0.204 H 322.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #E174F2 |
|---|---|
| RGB | rgb(225, 116, 242) |
| HSL | hsl(292, 83%, 70%) |
| HSV | hsv(292, 52%, 95%) |
| CMYK | cmyk(7%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(65.68, 60.31, -45.41) |
| CIE-LCH | lch(65.68, 75.49, 323.02°) |
| OKLab | oklab(72.94% 0.1613 -0.1257) |
| OKLCH | oklch(72.94% 0.204 322.1) |
| XYZ | xyz(53.3220, 34.9116, 87.9171) |
| Luminance | 0.3491 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 4.02
Light Magenta
#FA5FF7
ΔE00 4.29
Violet Pink
#FB5FFC
ΔE00 4.32
Violet (CSS)
#EE82EE
ΔE00 4.33
Orchid
#DA70D6
ΔE00 4.47
Candy Pink
#FF63E9
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E174F2 #85F274
analogous
#A274F2 #E174F2 #F274C4
triadic
#E174F2 #F2E174 #74F2E1
tetradic
#E174F2 #F2A274 #85F274 #74C4F2
square
#E174F2 #F2A274 #85F274 #74C4F2
split-complementary
#E174F2 #C4F274 #74F2A2
monochromatic
#BD14D7 #D53CED #E174F2 #EDACF7 #F9E3FC
Accessibility & contrast
On white
2.63
#E174F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#E174F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E174F2
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E174F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E174F2 | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6097F6
Deuteranopia (green-blind)
#82A4EE
Tritanopia (blue-blind)
#E485A8
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e174f2; /* rgb */ color: rgb(225, 116, 242); /* oklch */ color: oklch(72.9% 0.204 322.1);
Tailwind
colors: {
custom: {
50: '#eda0f7',
500: '#e174f2',
950: '#000000',
},
}SCSS
$custom: #e174f2; $custom-light: #eda0f7; $custom-dark: #000000;
JSON
{
"hex": "#e174f2",
"rgb": {
"r": 225,
"g": 116,
"b": 242
},
"hsl": {
"h": 291.905,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.72935,
"c": 0.20447,
"h": 322.1
},
"luminance": 0.34909
}Semantic roles & 50–950 ramp
primary
#E174F2
secondary
#D4F2CF
accent
#DF0623
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F17
muted
#857F85