#EF56EF#EF56EF
#EF56EF is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 71.1% C 0.251 H 327.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #EF56EF |
|---|---|
| RGB | rgb(239, 86, 239) |
| HSL | hsl(300, 83%, 64%) |
| HSV | hsv(300, 64%, 94%) |
| CMYK | cmyk(0%, 64%, 0%, 6.3%) |
| CIE-LAB | lab(62.71, 76.13, -48.30) |
| CIE-LCH | lch(62.71, 90.16, 327.60°) |
| OKLab | oklab(71.11% 0.2122 -0.1335) |
| OKLCH | oklch(71.11% 0.251 327.8) |
| XYZ | xyz(54.5036, 31.2420, 84.8042) |
| Luminance | 0.3124 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.69
Violet Pink
#FB5FFC
ΔE00 3.01
Candy Pink
#FF63E9
ΔE00 4.41
Heliotrope
#D94FF5
ΔE00 4.75
Magenta
#FF00FF
ΔE00 4.97
Fuchsia
#FF00FF
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF56EF #56EF56
analogous
#A256EF #EF56EF #EF56A2
triadic
#EF56EF #EFEF56 #56EFEF
tetradic
#EF56EF #EFA256 #56EF56 #56A2EF
square
#EF56EF #EFA256 #56EF56 #56A2EF
split-complementary
#EF56EF #A2EF56 #56EFA2
monochromatic
#B912B9 #EA1EEA #EF56EF #F48EF4 #FAC6FA
Accessibility & contrast
On white
2.90
#EF56EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#EF56EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF56EF
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF56EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF56EF | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#F66B9C
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ef56ef; /* rgb */ color: rgb(239, 86, 239); /* oklch */ color: oklch(71.1% 0.251 327.8);
Tailwind
colors: {
custom: {
50: '#f890f5',
500: '#ef56ef',
950: '#000000',
},
}SCSS
$custom: #ef56ef; $custom-light: #f890f5; $custom-dark: #000000;
JSON
{
"hex": "#ef56ef",
"rgb": {
"r": 239,
"g": 86,
"b": 239
},
"hsl": {
"h": 300,
"s": 82.703,
"l": 63.725
},
"oklch": {
"l": 0.71111,
"c": 0.25067,
"h": 327.8
},
"luminance": 0.31238
}Semantic roles & 50–950 ramp
primary
#EF56EF
secondary
#B5EBB5
accent
#DF0606
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85