#ED54E2#ED54E2
#ED54E2 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 70.0% C 0.242 H 330.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #ED54E2 |
|---|---|
| RGB | rgb(237, 84, 226) |
| HSL | hsl(304, 81%, 63%) |
| HSV | hsv(304, 65%, 93%) |
| CMYK | cmyk(0%, 64.6%, 4.6%, 7.1%) |
| CIE-LAB | lab(61.52, 74.35, -42.96) |
| CIE-LCH | lch(61.52, 85.87, 329.98°) |
| OKLab | oklab(69.98% 0.2115 -0.1181) |
| OKLCH | oklch(69.98% 0.242 330.8) |
| XYZ | xyz(51.8227, 29.8400, 74.9670) |
| Luminance | 0.2984 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.94
Candy Pink
#FF63E9
ΔE00 4.45
Purpleish Pink
#DF4EC8
ΔE00 4.46
Violet Pink
#FB5FFC
ΔE00 4.47
Bright Magenta
#FF08E8
ΔE00 4.62
Orchid
#DA70D6
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED54E2 #54ED5F
analogous
#AC54ED #ED54E2 #ED5495
triadic
#ED54E2 #E2ED54 #54E2ED
tetradic
#ED54E2 #EDAC54 #54ED5F #5495ED
square
#ED54E2 #EDAC54 #54ED5F #5495ED
split-complementary
#ED54E2 #95ED54 #54EDAC
monochromatic
#B413A8 #E71DD9 #ED54E2 #F38BEB #F9C3F5
Accessibility & contrast
On white
3.01
#ED54E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#ED54E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #ED54E2
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED54E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED54E2 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4987E6
Deuteranopia (green-blind)
#7F9CDE
Tritanopia (blue-blind)
#F66494
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ed54e2; /* rgb */ color: rgb(237, 84, 226); /* oklch */ color: oklch(70.0% 0.242 330.8);
Tailwind
colors: {
custom: {
50: '#f68feb',
500: '#ed54e2',
950: '#000000',
},
}SCSS
$custom: #ed54e2; $custom-light: #f68feb; $custom-dark: #000000;
JSON
{
"hex": "#ed54e2",
"rgb": {
"r": 237,
"g": 84,
"b": 226
},
"hsl": {
"h": 304.314,
"s": 80.952,
"l": 62.941
},
"oklch": {
"l": 0.69982,
"c": 0.24219,
"h": 330.8
},
"luminance": 0.29836
}Semantic roles & 50–950 ramp
primary
#ED54E2
secondary
#B3EAB7
accent
#DD1808
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84