#E581F2#E581F2
#E581F2 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.2% C 0.186 H 322.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #E581F2 |
|---|---|
| RGB | rgb(229, 129, 242) |
| HSL | hsl(293, 81%, 73%) |
| HSV | hsv(293, 47%, 95%) |
| CMYK | cmyk(5.4%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(68.59, 55.04, -40.82) |
| CIE-LCH | lch(68.59, 68.53, 323.44°) |
| OKLab | oklab(75.19% 0.1484 -0.1124) |
| OKLCH | oklch(75.19% 0.186 322.9) |
| XYZ | xyz(56.1887, 38.7718, 88.5112) |
| Luminance | 0.3877 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.08
Purply Pink
#F075E6
ΔE00 3.60
Lavender Pink
#DD85D7
ΔE00 4.91
Orchid
#DA70D6
ΔE00 5.41
Light Magenta
#FA5FF7
ΔE00 5.80
Violet Pink
#FB5FFC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E581F2 #8EF281
analogous
#AC81F2 #E581F2 #F281C7
triadic
#E581F2 #F2E581 #81F2E5
tetradic
#E581F2 #F2AC81 #8EF281 #81C7F2
square
#E581F2 #F2AC81 #8EF281 #81C7F2
split-complementary
#E581F2 #C7F281 #81F2AC
monochromatic
#CA17E1 #DA4AEC #E581F2 #F0B8F8 #F9E3FC
Accessibility & contrast
On white
2.40
#E581F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#E581F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E581F2
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E581F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E581F2 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#E88FAE
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #e581f2; /* rgb */ color: rgb(229, 129, 242); /* oklch */ color: oklch(75.2% 0.186 322.9);
Tailwind
colors: {
custom: {
50: '#efa8f6',
500: '#e581f2',
950: '#000000',
},
}SCSS
$custom: #e581f2; $custom-light: #efa8f6; $custom-dark: #000000;
JSON
{
"hex": "#e581f2",
"rgb": {
"r": 229,
"g": 129,
"b": 242
},
"hsl": {
"h": 293.097,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.75188,
"c": 0.18622,
"h": 322.9
},
"luminance": 0.38769
}Semantic roles & 50–950 ramp
primary
#E581F2
secondary
#DAF4D7
accent
#DE0820
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85