#ED5EF2#ED5EF2
#ED5EF2 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.8% C 0.242 H 326.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #ED5EF2 |
|---|---|
| RGB | rgb(237, 94, 242) |
| HSL | hsl(298, 85%, 66%) |
| HSV | hsv(298, 61%, 95%) |
| CMYK | cmyk(2.1%, 61.2%, 0%, 5.1%) |
| CIE-LAB | lab(63.69, 73.04, -48.44) |
| CIE-LCH | lch(63.69, 87.64, 326.45°) |
| OKLab | oklab(71.81% 0.2014 -0.134) |
| OKLCH | oklch(71.81% 0.242 326.4) |
| XYZ | xyz(54.9537, 32.4242, 87.3512) |
| Luminance | 0.3242 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.15
Violet Pink
#FB5FFC
ΔE00 2.39
Candy Pink
#FF63E9
ΔE00 4.22
Purply Pink
#F075E6
ΔE00 4.91
Heliotrope
#D94FF5
ΔE00 5.07
Orchid
#DA70D6
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED5EF2 #63F25E
analogous
#A35EF2 #ED5EF2 #F25EAD
triadic
#ED5EF2 #F2ED5E #5EF2ED
tetradic
#ED5EF2 #F2A35E #63F25E #5EADF2
square
#ED5EF2 #F2A35E #63F25E #5EADF2
split-complementary
#ED5EF2 #ADF25E #5EF2A3
monochromatic
#C010C6 #E725ED #ED5EF2 #F397F7 #FACFFB
Accessibility & contrast
On white
2.81
#ED5EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#ED5EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED5EF2
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED5EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED5EF2 | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#7DA1EE
Tritanopia (blue-blind)
#F372A0
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ed5ef2; /* rgb */ color: rgb(237, 94, 242); /* oklch */ color: oklch(71.8% 0.242 326.4);
Tailwind
colors: {
custom: {
50: '#f694f7',
500: '#ed5ef2',
950: '#000000',
},
}SCSS
$custom: #ed5ef2; $custom-light: #f694f7; $custom-dark: #000000;
JSON
{
"hex": "#ed5ef2",
"rgb": {
"r": 237,
"g": 94,
"b": 242
},
"hsl": {
"h": 297.973,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.71811,
"c": 0.24194,
"h": 326.4
},
"luminance": 0.32421
}Semantic roles & 50–950 ramp
primary
#ED5EF2
secondary
#BFEEBD
accent
#E2040B
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85