#EB87F3#EB87F3
#EB87F3 is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.8% C 0.181 H 324.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #EB87F3 |
|---|---|
| RGB | rgb(235, 135, 243) |
| HSL | hsl(296, 82%, 74%) |
| HSV | hsv(296, 44%, 95%) |
| CMYK | cmyk(3.3%, 44.4%, 0%, 4.7%) |
| CIE-LAB | lab(70.50, 53.92, -38.33) |
| CIE-LCH | lch(70.50, 66.16, 324.59°) |
| OKLab | oklab(76.78% 0.1471 -0.1052) |
| OKLCH | oklch(76.78% 0.181 324.4) |
| XYZ | xyz(59.1011, 41.4638, 89.6668) |
| Luminance | 0.4146 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.39
Purply Pink
#F075E6
ΔE00 3.93
Lavender Pink
#DD85D7
ΔE00 4.69
Orchid
#DA70D6
ΔE00 6.48
Candy Pink
#FF63E9
ΔE00 6.54
Light Magenta
#FA5FF7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB87F3 #8FF387
analogous
#B587F3 #EB87F3 #F387C5
triadic
#EB87F3 #F3EB87 #87F3EB
tetradic
#EB87F3 #F3B587 #8FF387 #87C5F3
square
#EB87F3 #F3B587 #8FF387 #87C5F3
split-complementary
#EB87F3 #C5F387 #87F3B5
monochromatic
#D818E8 #E24FED #EB87F3 #F4BFF9 #FAE3FC
Accessibility & contrast
On white
2.26
#EB87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#EB87F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB87F3
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB87F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB87F3 | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA5F7
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#EF93B2
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #eb87f3; /* rgb */ color: rgb(235, 135, 243); /* oklch */ color: oklch(76.8% 0.181 324.4);
Tailwind
colors: {
custom: {
50: '#f3adf7',
500: '#eb87f3',
950: '#000000',
},
}SCSS
$custom: #eb87f3; $custom-light: #f3adf7; $custom-dark: #000000;
JSON
{
"hex": "#eb87f3",
"rgb": {
"r": 235,
"g": 135,
"b": 243
},
"hsl": {
"h": 295.556,
"s": 81.818,
"l": 74.118
},
"oklch": {
"l": 0.76779,
"c": 0.18086,
"h": 324.4
},
"luminance": 0.41461
}Semantic roles & 50–950 ramp
primary
#EB87F3
secondary
#D9F4D7
accent
#DE0717
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85