#EF87F2#EF87F2
#EF87F2 is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.2% C 0.182 H 326.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #EF87F2 |
|---|---|
| RGB | rgb(239, 135, 242) |
| HSL | hsl(298, 80%, 74%) |
| HSV | hsv(298, 44%, 95%) |
| CMYK | cmyk(1.2%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(70.93, 54.88, -37.07) |
| CIE-LCH | lch(70.93, 66.23, 325.96°) |
| OKLab | oklab(77.19% 0.1514 -0.1015) |
| OKLCH | oklch(77.19% 0.182 326.1) |
| XYZ | xyz(60.2863, 42.0924, 88.9363) |
| Luminance | 0.4209 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.10
Purply Pink
#F075E6
ΔE00 3.71
Lavender Pink
#DD85D7
ΔE00 4.63
Candy Pink
#FF63E9
ΔE00 6.24
Orchid
#DA70D6
ΔE00 6.64
Light Magenta
#FA5FF7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF87F2 #8AF287
analogous
#BA87F2 #EF87F2 #F287C0
triadic
#EF87F2 #F2EF87 #87F2EF
tetradic
#EF87F2 #F2BA87 #8AF287 #87C0F2
square
#EF87F2 #F2BA87 #8AF287 #87C0F2
split-complementary
#EF87F2 #C0F287 #87F2BA
monochromatic
#E019E6 #E850EC #EF87F2 #F6BEF8 #FBE3FC
Accessibility & contrast
On white
2.23
#EF87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#EF87F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF87F2
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF87F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF87F2 | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#9AB2EF
Tritanopia (blue-blind)
#F492B1
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #ef87f2; /* rgb */ color: rgb(239, 135, 242); /* oklch */ color: oklch(77.2% 0.182 326.1);
Tailwind
colors: {
custom: {
50: '#f6adf6',
500: '#ef87f2',
950: '#000000',
},
}SCSS
$custom: #ef87f2; $custom-light: #f6adf6; $custom-dark: #000000;
JSON
{
"hex": "#ef87f2",
"rgb": {
"r": 239,
"g": 135,
"b": 242
},
"hsl": {
"h": 298.318,
"s": 80.451,
"l": 73.922
},
"oklch": {
"l": 0.77192,
"c": 0.18229,
"h": 326.1
},
"luminance": 0.42089
}Semantic roles & 50–950 ramp
primary
#EF87F2
secondary
#D8F4D7
accent
#DD090F
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85