#E873F8#E873F8
#E873F8 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.9% C 0.215 H 322.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E873F8 |
|---|---|
| RGB | rgb(232, 115, 248) |
| HSL | hsl(293, 90%, 71%) |
| HSV | hsv(293, 54%, 97%) |
| CMYK | cmyk(6.5%, 53.6%, 0%, 2.7%) |
| CIE-LAB | lab(66.67, 63.70, -47.09) |
| CIE-LCH | lch(66.67, 79.22, 323.53°) |
| OKLab | oklab(73.94% 0.1711 -0.1304) |
| OKLCH | oklch(73.94% 0.215 322.7) |
| XYZ | xyz(56.3510, 36.1973, 92.8073) |
| Luminance | 0.3619 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.49
Light Magenta
#FA5FF7
ΔE00 3.57
Purply Pink
#F075E6
ΔE00 3.90
Violet (CSS)
#EE82EE
ΔE00 4.13
Candy Pink
#FF63E9
ΔE00 5.10
Orchid
#DA70D6
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E873F8 #83F873
analogous
#A573F8 #E873F8 #F873C5
triadic
#E873F8 #F8E873 #73F8E8
tetradic
#E873F8 #F8A573 #83F873 #73C5F8
square
#E873F8 #F8A573 #83F873 #73C5F8
split-complementary
#E873F8 #C5F873 #73F8A5
monochromatic
#CB0BE5 #DE39F5 #E873F8 #F2ADFB #FAE2FE
Accessibility & contrast
On white
2.55
#E873F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#E873F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E873F8
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E873F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E873F8 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E99FC
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#EB85AB
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #e873f8; /* rgb */ color: rgb(232, 115, 248); /* oklch */ color: oklch(73.9% 0.215 322.7);
Tailwind
colors: {
custom: {
50: '#f2a0fb',
500: '#e873f8',
950: '#000000',
},
}SCSS
$custom: #e873f8; $custom-light: #f2a0fb; $custom-dark: #000000;
JSON
{
"hex": "#e873f8",
"rgb": {
"r": 232,
"g": 115,
"b": 248
},
"hsl": {
"h": 292.782,
"s": 90.476,
"l": 71.176
},
"oklch": {
"l": 0.73942,
"c": 0.2151,
"h": 322.7
},
"luminance": 0.36195
}Semantic roles & 50–950 ramp
primary
#E873F8
secondary
#D6F5D2
accent
#E6001C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85