#EF56F7#EF56F7
#EF56F7 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.5% C 0.257 H 325.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #EF56F7 |
|---|---|
| RGB | rgb(239, 86, 247) |
| HSL | hsl(297, 91%, 65%) |
| HSV | hsv(297, 65%, 97%) |
| CMYK | cmyk(3.2%, 65.2%, 0%, 3.1%) |
| CIE-LAB | lab(63.12, 77.43, -52.10) |
| CIE-LCH | lch(63.12, 93.33, 326.07°) |
| OKLab | oklab(71.53% 0.2124 -0.1445) |
| OKLCH | oklch(71.53% 0.257 325.8) |
| XYZ | xyz(55.7117, 31.7252, 91.1668) |
| Luminance | 0.3172 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.72
Violet Pink
#FB5FFC
ΔE00 2.76
Heliotrope
#D94FF5
ΔE00 4.36
Magenta
#FF00FF
ΔE00 4.76
Fuchsia
#FF00FF
ΔE00 4.76
Candy Pink
#FF63E9
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF56F7 #5EF756
analogous
#9F56F7 #EF56F7 #F756AE
triadic
#EF56F7 #F7EF56 #56F7EF
tetradic
#EF56F7 #F79F56 #5EF756 #56AEF7
square
#EF56F7 #F79F56 #5EF756 #56AEF7
split-complementary
#EF56F7 #AEF756 #56F79F
monochromatic
#C00AC9 #E91CF4 #EF56F7 #F590FA #FACBFD
Accessibility & contrast
On white
2.86
#EF56F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#EF56F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF56F7
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF56F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF56F7 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#378CFC
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#F56EA0
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ef56f7; /* rgb */ color: rgb(239, 86, 247); /* oklch */ color: oklch(71.5% 0.257 325.8);
Tailwind
colors: {
custom: {
50: '#f891fa',
500: '#ef56f7',
950: '#000000',
},
}SCSS
$custom: #ef56f7; $custom-light: #f891fa; $custom-dark: #000000;
JSON
{
"hex": "#ef56f7",
"rgb": {
"r": 239,
"g": 86,
"b": 247
},
"hsl": {
"h": 297.019,
"s": 90.96,
"l": 65.294
},
"oklch": {
"l": 0.71533,
"c": 0.25693,
"h": 325.8
},
"luminance": 0.31722
}Semantic roles & 50–950 ramp
primary
#EF56F7
secondary
#BCF0B9
accent
#E6000B
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85