#EF5AF2#EF5AF2
#EF5AF2 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.7% C 0.248 H 327.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #EF5AF2 |
|---|---|
| RGB | rgb(239, 90, 242) |
| HSL | hsl(299, 85%, 65%) |
| HSV | hsv(299, 63%, 95%) |
| CMYK | cmyk(1.2%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(63.41, 75.09, -48.87) |
| CIE-LCH | lch(63.41, 89.59, 326.94°) |
| OKLab | oklab(71.66% 0.208 -0.1352) |
| OKLCH | oklch(71.66% 0.248 327) |
| XYZ | xyz(55.2789, 32.0774, 87.2672) |
| Luminance | 0.3207 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.20
Violet Pink
#FB5FFC
ΔE00 2.45
Candy Pink
#FF63E9
ΔE00 4.24
Heliotrope
#D94FF5
ΔE00 4.95
Purply Pink
#F075E6
ΔE00 5.24
Magenta
#FF00FF
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF5AF2 #5DF25A
analogous
#A35AF2 #EF5AF2 #F25AA9
triadic
#EF5AF2 #F2EF5A #5AF2EF
tetradic
#EF5AF2 #F2A35A #5DF25A #5AA9F2
square
#EF5AF2 #F2A35A #5DF25A #5AA9F2
split-complementary
#EF5AF2 #A9F25A #5AF2A3
monochromatic
#BF0FC2 #E921EE #EF5AF2 #F593F6 #FACBFB
Accessibility & contrast
On white
2.83
#EF5AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#EF5AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF5AF2
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF5AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF5AF2 | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#F56F9F
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ef5af2; /* rgb */ color: rgb(239, 90, 242); /* oklch */ color: oklch(71.7% 0.248 327.0);
Tailwind
colors: {
custom: {
50: '#f892f7',
500: '#ef5af2',
950: '#000000',
},
}SCSS
$custom: #ef5af2; $custom-light: #f892f7; $custom-dark: #000000;
JSON
{
"hex": "#ef5af2",
"rgb": {
"r": 239,
"g": 90,
"b": 242
},
"hsl": {
"h": 298.816,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.71662,
"c": 0.24807,
"h": 327
},
"luminance": 0.32074
}Semantic roles & 50–950 ramp
primary
#EF5AF2
secondary
#BBEEBA
accent
#E20408
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85