#E56AF2#E56AF2
#E56AF2 is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.2% C 0.221 H 323.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #E56AF2 |
|---|---|
| RGB | rgb(229, 106, 242) |
| HSL | hsl(294, 84%, 68%) |
| HSV | hsv(294, 56%, 95%) |
| CMYK | cmyk(5.4%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(64.47, 65.97, -47.29) |
| CIE-LCH | lch(64.47, 81.17, 324.37°) |
| OKLab | oklab(72.15% 0.1785 -0.1309) |
| OKLCH | oklch(72.15% 0.221 323.7) |
| XYZ | xyz(53.4927, 33.3797, 87.6125) |
| Luminance | 0.3338 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.11
Violet Pink
#FB5FFC
ΔE00 3.21
Purply Pink
#F075E6
ΔE00 4.33
Orchid
#DA70D6
ΔE00 4.52
Candy Pink
#FF63E9
ΔE00 4.89
Violet (CSS)
#EE82EE
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E56AF2 #77F26A
analogous
#A16AF2 #E56AF2 #F26ABB
triadic
#E56AF2 #F2E56A #6AF2E5
tetradic
#E56AF2 #F2A16A #77F26A #6ABBF2
square
#E56AF2 #F2A16A #77F26A #6ABBF2
split-complementary
#E56AF2 #BBF26A #6AF2A1
monochromatic
#BD12CF #DB32ED #E56AF2 #EFA2F7 #F9DBFC
Accessibility & contrast
On white
2.74
#E56AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#E56AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E56AF2
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E56AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E56AF2 | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#E97DA4
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e56af2; /* rgb */ color: rgb(229, 106, 242); /* oklch */ color: oklch(72.2% 0.221 323.7);
Tailwind
colors: {
custom: {
50: '#f09af7',
500: '#e56af2',
950: '#000000',
},
}SCSS
$custom: #e56af2; $custom-light: #f09af7; $custom-dark: #000000;
JSON
{
"hex": "#e56af2",
"rgb": {
"r": 229,
"g": 106,
"b": 242
},
"hsl": {
"h": 294.265,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.72153,
"c": 0.22137,
"h": 323.7
},
"luminance": 0.33377
}Semantic roles & 50–950 ramp
primary
#E56AF2
secondary
#CBF1C7
accent
#E0051A
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85