#E787F5#E787F5
#E787F5 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.4% C 0.181 H 322.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #E787F5 |
|---|---|
| RGB | rgb(231, 135, 245) |
| HSL | hsl(292, 85%, 75%) |
| HSV | hsv(292, 45%, 96%) |
| CMYK | cmyk(5.7%, 44.9%, 0%, 3.9%) |
| CIE-LAB | lab(70.11, 53.16, -40.06) |
| CIE-LCH | lch(70.11, 66.56, 323.00°) |
| OKLab | oklab(76.42% 0.1429 -0.1103) |
| OKLCH | oklch(76.42% 0.181 322.3) |
| XYZ | xyz(58.0986, 40.9118, 91.2049) |
| Luminance | 0.4091 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.12
Purply Pink
#F075E6
ΔE00 4.40
Lavender Pink
#DD85D7
ΔE00 5.04
Orchid
#DA70D6
ΔE00 6.52
Violet Pink
#FB5FFC
ΔE00 6.79
Light Magenta
#FA5FF7
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E787F5 #95F587
analogous
#B087F5 #E787F5 #F587CC
triadic
#E787F5 #F5E787 #87F5E7
tetradic
#E787F5 #F5B087 #95F587 #87CCF5
square
#E787F5 #F5B087 #95F587 #87CCF5
split-complementary
#E787F5 #CCF587 #87F5B0
monochromatic
#D016EC #DC4FF0 #E787F5 #F2BFFA #F9E3FD
Accessibility & contrast
On white
2.29
#E787F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#E787F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E787F5
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E787F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E787F5 | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A4F9
Deuteranopia (green-blind)
#93AFF2
Tritanopia (blue-blind)
#EA94B3
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e787f5; /* rgb */ color: rgb(231, 135, 245); /* oklch */ color: oklch(76.4% 0.181 322.3);
Tailwind
colors: {
custom: {
50: '#f0acf9',
500: '#e787f5',
950: '#000000',
},
}SCSS
$custom: #e787f5; $custom-light: #f0acf9; $custom-dark: #000000;
JSON
{
"hex": "#e787f5",
"rgb": {
"r": 231,
"g": 135,
"b": 245
},
"hsl": {
"h": 292.364,
"s": 84.615,
"l": 74.51
},
"oklch": {
"l": 0.76418,
"c": 0.18051,
"h": 322.3
},
"luminance": 0.40909
}Semantic roles & 50–950 ramp
primary
#E787F5
secondary
#DAF5D6
accent
#E10420
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85