#E787F6#E787F6
#E787F6 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.5% C 0.181 H 322.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #E787F6 |
|---|---|
| RGB | rgb(231, 135, 246) |
| HSL | hsl(292, 86%, 75%) |
| HSV | hsv(292, 45%, 96%) |
| CMYK | cmyk(6.1%, 45.1%, 0%, 3.5%) |
| CIE-LAB | lab(70.16, 53.34, -40.54) |
| CIE-LCH | lch(70.16, 67.00, 322.77°) |
| OKLab | oklab(76.46% 0.1431 -0.1116) |
| OKLCH | oklch(76.46% 0.182 322) |
| XYZ | xyz(58.2517, 40.9731, 92.0111) |
| Luminance | 0.4097 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.26
Purply Pink
#F075E6
ΔE00 4.50
Lavender Pink
#DD85D7
ΔE00 5.21
Orchid
#DA70D6
ΔE00 6.61
Violet Pink
#FB5FFC
ΔE00 6.77
Light Magenta
#FA5FF7
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E787F6 #96F687
analogous
#B087F6 #E787F6 #F687CE
triadic
#E787F6 #F6E787 #87F6E7
tetradic
#E787F6 #F6B087 #96F687 #87CEF6
square
#E787F6 #F6B087 #96F687 #87CEF6
split-complementary
#E787F6 #CEF687 #87F6B0
monochromatic
#D015ED #DC4EF2 #E787F6 #F2C0FA #F9E3FD
Accessibility & contrast
On white
2.28
#E787F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#E787F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E787F6
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E787F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E787F6 | 1.00 | 2.28 | 9.19 | 9.19 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A4FA
Deuteranopia (green-blind)
#93AFF3
Tritanopia (blue-blind)
#EA95B3
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e787f6; /* rgb */ color: rgb(231, 135, 246); /* oklch */ color: oklch(76.5% 0.181 322.0);
Tailwind
colors: {
custom: {
50: '#f0acf9',
500: '#e787f6',
950: '#000000',
},
}SCSS
$custom: #e787f6; $custom-light: #f0acf9; $custom-dark: #000000;
JSON
{
"hex": "#e787f6",
"rgb": {
"r": 231,
"g": 135,
"b": 246
},
"hsl": {
"h": 291.892,
"s": 86.047,
"l": 74.706
},
"oklch": {
"l": 0.76464,
"c": 0.1815,
"h": 322
},
"luminance": 0.40971
}Semantic roles & 50–950 ramp
primary
#E787F6
secondary
#DAF5D6
accent
#E30321
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85