#EF87F3#EF87F3
#EF87F3 is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.2% C 0.183 H 325.8°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #EF87F3 |
|---|---|
| RGB | rgb(239, 135, 243) |
| HSL | hsl(298, 82%, 74%) |
| HSV | hsv(298, 44%, 95%) |
| CMYK | cmyk(1.6%, 44.4%, 0%, 4.7%) |
| CIE-LAB | lab(70.98, 55.06, -37.55) |
| CIE-LCH | lch(70.98, 66.65, 325.71°) |
| OKLab | oklab(77.24% 0.1516 -0.1029) |
| OKLCH | oklch(77.24% 0.183 325.8) |
| XYZ | xyz(60.4369, 42.1526, 89.7295) |
| Luminance | 0.4215 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.17
Purply Pink
#F075E6
ΔE00 3.78
Lavender Pink
#DD85D7
ΔE00 4.77
Candy Pink
#FF63E9
ΔE00 6.28
Light Magenta
#FA5FF7
ΔE00 6.66
Orchid
#DA70D6
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF87F3 #8BF387
analogous
#B987F3 #EF87F3 #F387C1
triadic
#EF87F3 #F3EF87 #87F3EF
tetradic
#EF87F3 #F3B987 #8BF387 #87C1F3
square
#EF87F3 #F3B987 #8BF387 #87C1F3
split-complementary
#EF87F3 #C1F387 #87F3B9
monochromatic
#E018E8 #E84FED #EF87F3 #F6BFF9 #FBE3FC
Accessibility & contrast
On white
2.23
#EF87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#EF87F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF87F3
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF87F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF87F3 | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA5F7
Deuteranopia (green-blind)
#9AB2F0
Tritanopia (blue-blind)
#F493B2
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #ef87f3; /* rgb */ color: rgb(239, 135, 243); /* oklch */ color: oklch(77.2% 0.183 325.8);
Tailwind
colors: {
custom: {
50: '#f6adf7',
500: '#ef87f3',
950: '#000000',
},
}SCSS
$custom: #ef87f3; $custom-light: #f6adf7; $custom-dark: #000000;
JSON
{
"hex": "#ef87f3",
"rgb": {
"r": 239,
"g": 135,
"b": 243
},
"hsl": {
"h": 297.778,
"s": 81.818,
"l": 74.118
},
"oklch": {
"l": 0.77236,
"c": 0.1832,
"h": 325.8
},
"luminance": 0.4215
}Semantic roles & 50–950 ramp
primary
#EF87F3
secondary
#D8F4D7
accent
#DE070F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85