#ED5AF2#ED5AF2
#ED5AF2 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.4% C 0.247 H 326.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #ED5AF2 |
|---|---|
| RGB | rgb(237, 90, 242) |
| HSL | hsl(298, 85%, 65%) |
| HSV | hsv(298, 63%, 95%) |
| CMYK | cmyk(2.1%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(63.12, 74.63, -49.34) |
| CIE-LCH | lch(63.12, 89.46, 326.53°) |
| OKLab | oklab(71.4% 0.2059 -0.1366) |
| OKLCH | oklch(71.4% 0.247 326.4) |
| XYZ | xyz(54.6072, 31.7311, 87.2357) |
| Luminance | 0.3173 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.52
Violet Pink
#FB5FFC
ΔE00 2.73
Candy Pink
#FF63E9
ΔE00 4.57
Heliotrope
#D94FF5
ΔE00 4.62
Magenta
#FF00FF
ΔE00 5.32
Fuchsia
#FF00FF
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED5AF2 #5FF25A
analogous
#A15AF2 #ED5AF2 #F25AAB
triadic
#ED5AF2 #F2ED5A #5AF2ED
tetradic
#ED5AF2 #F2A15A #5FF25A #5AABF2
square
#ED5AF2 #F2A15A #5FF25A #5AABF2
split-complementary
#ED5AF2 #ABF25A #5AF2A1
monochromatic
#BC0FC2 #E721EE #ED5AF2 #F393F6 #F9CBFB
Accessibility & contrast
On white
2.86
#ED5AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#ED5AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED5AF2
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED5AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED5AF2 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428DF7
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#F36F9F
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ed5af2; /* rgb */ color: rgb(237, 90, 242); /* oklch */ color: oklch(71.4% 0.247 326.4);
Tailwind
colors: {
custom: {
50: '#f692f7',
500: '#ed5af2',
950: '#000000',
},
}SCSS
$custom: #ed5af2; $custom-light: #f692f7; $custom-dark: #000000;
JSON
{
"hex": "#ed5af2",
"rgb": {
"r": 237,
"g": 90,
"b": 242
},
"hsl": {
"h": 298.026,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.71397,
"c": 0.24707,
"h": 326.4
},
"luminance": 0.31728
}Semantic roles & 50–950 ramp
primary
#ED5AF2
secondary
#BCEEBA
accent
#E2040B
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85