#E873F2#E873F2
#E873F2 is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.6% C 0.210 H 324.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E873F2 |
|---|---|
| RGB | rgb(232, 115, 242) |
| HSL | hsl(295, 83%, 70%) |
| HSV | hsv(295, 52%, 95%) |
| CMYK | cmyk(4.1%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(66.39, 62.62, -44.23) |
| CIE-LCH | lch(66.39, 76.67, 324.76°) |
| OKLab | oklab(73.65% 0.1704 -0.1221) |
| OKLCH | oklch(73.65% 0.21 324.4) |
| XYZ | xyz(55.4350, 35.8309, 87.9833) |
| Luminance | 0.3583 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 3.03
Light Magenta
#FA5FF7
ΔE00 3.44
Violet Pink
#FB5FFC
ΔE00 3.54
Violet (CSS)
#EE82EE
ΔE00 3.63
Orchid
#DA70D6
ΔE00 4.46
Candy Pink
#FF63E9
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E873F2 #7DF273
analogous
#A973F2 #E873F2 #F273BC
triadic
#E873F2 #F2E873 #73F2E8
tetradic
#E873F2 #F2A973 #7DF273 #73BCF2
square
#E873F2 #F2A973 #7DF273 #73BCF2
split-complementary
#E873F2 #BCF273 #73F2A9
monochromatic
#C714D7 #DF3BED #E873F2 #F1ABF7 #FAE3FC
Accessibility & contrast
On white
2.57
#E873F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#E873F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E873F2
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E873F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E873F2 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#87A6EE
Tritanopia (blue-blind)
#EC83A8
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #e873f2; /* rgb */ color: rgb(232, 115, 242); /* oklch */ color: oklch(73.6% 0.210 324.4);
Tailwind
colors: {
custom: {
50: '#f2a0f7',
500: '#e873f2',
950: '#000000',
},
}SCSS
$custom: #e873f2; $custom-light: #f2a0f7; $custom-dark: #000000;
JSON
{
"hex": "#e873f2",
"rgb": {
"r": 232,
"g": 115,
"b": 242
},
"hsl": {
"h": 295.276,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.73645,
"c": 0.20967,
"h": 324.4
},
"luminance": 0.35828
}Semantic roles & 50–950 ramp
primary
#E873F2
secondary
#D1F2CF
accent
#DF0617
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85