#E787F9#E787F9
#E787F9 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.6% C 0.184 H 321.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #E787F9 |
|---|---|
| RGB | rgb(231, 135, 249) |
| HSL | hsl(291, 90%, 75%) |
| HSV | hsv(291, 46%, 98%) |
| CMYK | cmyk(7.2%, 45.8%, 0%, 2.4%) |
| CIE-LAB | lab(70.29, 53.91, -41.97) |
| CIE-LCH | lch(70.29, 68.32, 322.10°) |
| OKLab | oklab(76.6% 0.1436 -0.1158) |
| OKLCH | oklch(76.6% 0.184 321.1) |
| XYZ | xyz(58.7159, 41.1587, 94.4557) |
| Luminance | 0.4116 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.67
Purply Pink
#F075E6
ΔE00 4.83
Lavender Pink
#DD85D7
ΔE00 5.70
Violet Pink
#FB5FFC
ΔE00 6.73
Light Magenta
#FA5FF7
ΔE00 6.80
Orchid
#DA70D6
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E787F9 #99F987
analogous
#AE87F9 #E787F9 #F987D2
triadic
#E787F9 #F9E787 #87F9E7
tetradic
#E787F9 #F9AE87 #99F987 #87D2F9
square
#E787F9 #F9AE87 #99F987 #87D2F9
split-complementary
#E787F9 #D2F987 #87F9AE
monochromatic
#D012F3 #DB4DF6 #E787F9 #F3C1FC #F9E2FE
Accessibility & contrast
On white
2.27
#E787F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#E787F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E787F9
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E787F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E787F9 | 1.00 | 2.27 | 9.23 | 9.23 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A5FD
Deuteranopia (green-blind)
#92B0F6
Tritanopia (blue-blind)
#E995B4
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e787f9; /* rgb */ color: rgb(231, 135, 249); /* oklch */ color: oklch(76.6% 0.184 321.1);
Tailwind
colors: {
custom: {
50: '#f0acfb',
500: '#e787f9',
950: '#000000',
},
}SCSS
$custom: #e787f9; $custom-light: #f0acfb; $custom-dark: #000000;
JSON
{
"hex": "#e787f9",
"rgb": {
"r": 231,
"g": 135,
"b": 249
},
"hsl": {
"h": 290.526,
"s": 90.476,
"l": 75.294
},
"oklch": {
"l": 0.76604,
"c": 0.18443,
"h": 321.1
},
"luminance": 0.41156
}Semantic roles & 50–950 ramp
primary
#E787F9
secondary
#DAF6D5
accent
#E60024
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85