#E874E2#E874E2
#E874E2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 73.0% C 0.194 H 329.3°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E874E2 |
|---|---|
| RGB | rgb(232, 116, 226) |
| HSL | hsl(303, 72%, 68%) |
| HSV | hsv(303, 50%, 91%) |
| CMYK | cmyk(0%, 50%, 2.6%, 9%) |
| CIE-LAB | lab(65.86, 59.36, -36.21) |
| CIE-LCH | lch(65.86, 69.53, 328.61°) |
| OKLab | oklab(73.02% 0.1669 -0.0991) |
| OKLCH | oklch(73.02% 0.194 329.3) |
| XYZ | xyz(53.2510, 35.1407, 75.9148) |
| Luminance | 0.3514 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.34
Orchid
#DA70D6
ΔE00 2.77
Violet (CSS)
#EE82EE
ΔE00 3.23
Candy Pink
#FF63E9
ΔE00 3.77
Lavender Pink
#DD85D7
ΔE00 4.38
Light Magenta
#FA5FF7
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E874E2 #74E87A
analogous
#B474E8 #E874E2 #E874A8
triadic
#E874E2 #E2E874 #74E2E8
tetradic
#E874E2 #E8B474 #74E87A #74A8E8
square
#E874E2 #E8B474 #74E87A #74A8E8
split-complementary
#E874E2 #A8E874 #74E8B4
monochromatic
#C220B9 #DF3FD7 #E874E2 #F1A9ED #F9DDF8
Accessibility & contrast
On white
2.62
#E874E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#E874E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E874E2
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E874E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E874E2 | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#EF7FA1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #e874e2; /* rgb */ color: rgb(232, 116, 226); /* oklch */ color: oklch(73.0% 0.194 329.3);
Tailwind
colors: {
custom: {
50: '#f2a0eb',
500: '#e874e2',
950: '#000000',
},
}SCSS
$custom: #e874e2; $custom-light: #f2a0eb; $custom-dark: #000000;
JSON
{
"hex": "#e874e2",
"rgb": {
"r": 232,
"g": 116,
"b": 226
},
"hsl": {
"h": 303.103,
"s": 71.605,
"l": 68.235
},
"oklch": {
"l": 0.7302,
"c": 0.1941,
"h": 329.3
},
"luminance": 0.35138
}Semantic roles & 50–950 ramp
primary
#E874E2
secondary
#CAEDCC
accent
#D41C12
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F16
muted
#857F84