#EF51F2#EF51F2
#EF51F2 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.8% C 0.259 H 327.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #EF51F2 |
|---|---|
| RGB | rgb(239, 81, 242) |
| HSL | hsl(299, 86%, 63%) |
| HSV | hsv(299, 67%, 95%) |
| CMYK | cmyk(1.2%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(62.21, 78.44, -50.76) |
| CIE-LCH | lch(62.21, 93.43, 327.09°) |
| OKLab | oklab(70.8% 0.2174 -0.1406) |
| OKLCH | oklch(70.8% 0.259 327.1) |
| XYZ | xyz(54.5652, 30.6501, 87.0293) |
| Luminance | 0.3065 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.22
Violet Pink
#FB5FFC
ΔE00 3.42
Heliotrope
#D94FF5
ΔE00 4.17
Magenta
#FF00FF
ΔE00 4.26
Fuchsia
#FF00FF
ΔE00 4.26
Bright Magenta
#FF08E8
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF51F2 #54F251
analogous
#9E51F2 #EF51F2 #F251A4
triadic
#EF51F2 #F2EF51 #51F2EF
tetradic
#EF51F2 #F29E51 #54F251 #51A4F2
square
#EF51F2 #F29E51 #54F251 #51A4F2
split-complementary
#EF51F2 #A4F251 #51F29E
monochromatic
#B70EBB #EA18EE #EF51F2 #F48AF6 #F9C3FB
Accessibility & contrast
On white
2.95
#EF51F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#EF51F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF51F2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF51F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF51F2 | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3589F7
Deuteranopia (green-blind)
#779DEE
Tritanopia (blue-blind)
#F6699C
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ef51f2; /* rgb */ color: rgb(239, 81, 242); /* oklch */ color: oklch(70.8% 0.259 327.1);
Tailwind
colors: {
custom: {
50: '#f88ef7',
500: '#ef51f2',
950: '#000000',
},
}SCSS
$custom: #ef51f2; $custom-light: #f88ef7; $custom-dark: #000000;
JSON
{
"hex": "#ef51f2",
"rgb": {
"r": 239,
"g": 81,
"b": 242
},
"hsl": {
"h": 298.882,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.70799,
"c": 0.25892,
"h": 327.1
},
"luminance": 0.30646
}Semantic roles & 50–950 ramp
primary
#EF51F2
secondary
#B4ECB3
accent
#E30307
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85