#E313E2#E313E2
#E313E2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 64.5% C 0.290 H 328.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #E313E2 |
|---|---|
| RGB | rgb(227, 19, 226) |
| HSL | hsl(300, 85%, 48%) |
| HSV | hsv(300, 92%, 89%) |
| CMYK | cmyk(0%, 91.6%, 0.4%, 11%) |
| CIE-LAB | lab(54.33, 88.37, -54.44) |
| CIE-LCH | lch(54.33, 103.79, 328.36°) |
| OKLab | oklab(64.55% 0.2474 -0.1513) |
| OKLCH | oklch(64.55% 0.29 328.6) |
| XYZ | xyz(45.6385, 22.2913, 73.8357) |
| Luminance | 0.2229 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 1.82
Fuchsia (survey)
#ED0DD9
ΔE00 2.45
Pink Purple
#EF1DE7
ΔE00 2.68
Pinkish Purple
#D648D7
ΔE00 3.89
Bright Magenta
#FF08E8
ΔE00 5.12
Hot Magenta
#F504C9
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E313E2 #13E314
analogous
#7C13E3 #E313E2 #E3137A
triadic
#E313E2 #E2E313 #13E2E3
tetradic
#E313E2 #E37C13 #13E314 #137AE3
square
#E313E2 #E37C13 #13E314 #137AE3
split-complementary
#E313E2 #7AE313 #13E37C
monochromatic
#720A72 #AB0EAA #E313E2 #EF44EF #F47CF3
Accessibility & contrast
On white
3.85
#E313E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#E313E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E313E2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E313E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E313E2 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#5F8ADE
Tritanopia (blue-blind)
#EB4486
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #e313e2; /* rgb */ color: rgb(227, 19, 226); /* oklch */ color: oklch(64.5% 0.290 328.6);
Tailwind
colors: {
custom: {
50: '#f177ec',
500: '#e313e2',
950: '#000000',
},
}SCSS
$custom: #e313e2; $custom-light: #f177ec; $custom-dark: #000000;
JSON
{
"hex": "#e313e2",
"rgb": {
"r": 227,
"g": 19,
"b": 226
},
"hsl": {
"h": 300.288,
"s": 84.553,
"l": 48.235
},
"oklch": {
"l": 0.64548,
"c": 0.29,
"h": 328.6
},
"luminance": 0.22288
}Semantic roles & 50–950 ramp
primary
#E313E2
secondary
#76DC76
accent
#FB2E2D
background
#FFF8FE
surface
#FFEFFD
border
#D7CAD5
text
#180B16
muted
#867C84