#E787F2#E787F2
#E787F2 is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.3% C 0.178 H 323.3°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #E787F2 |
|---|---|
| RGB | rgb(231, 135, 242) |
| HSL | hsl(294, 80%, 74%) |
| HSV | hsv(294, 44%, 95%) |
| CMYK | cmyk(4.5%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(69.99, 52.60, -38.62) |
| CIE-LCH | lch(69.99, 65.25, 323.72°) |
| OKLab | oklab(76.28% 0.1424 -0.1061) |
| OKLCH | oklch(76.28% 0.178 323.3) |
| XYZ | xyz(57.6444, 40.7301, 88.8125) |
| Luminance | 0.4073 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.77
Purply Pink
#F075E6
ΔE00 4.13
Lavender Pink
#DD85D7
ΔE00 4.55
Orchid
#DA70D6
ΔE00 6.26
Candy Pink
#FF63E9
ΔE00 6.82
Light Magenta
#FA5FF7
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E787F2 #92F287
analogous
#B287F2 #E787F2 #F287C8
triadic
#E787F2 #F2E787 #87F2E7
tetradic
#E787F2 #F2B287 #92F287 #87C8F2
square
#E787F2 #F2B287 #92F287 #87C8F2
split-complementary
#E787F2 #C8F287 #87F2B2
monochromatic
#D119E6 #DC50EC #E787F2 #F2BEF8 #F9E3FC
Accessibility & contrast
On white
2.30
#E787F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#E787F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E787F2
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E787F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E787F2 | 1.00 | 2.30 | 9.15 | 9.15 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#EA93B1
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e787f2; /* rgb */ color: rgb(231, 135, 242); /* oklch */ color: oklch(76.3% 0.178 323.3);
Tailwind
colors: {
custom: {
50: '#f0acf6',
500: '#e787f2',
950: '#000000',
},
}SCSS
$custom: #e787f2; $custom-light: #f0acf6; $custom-dark: #000000;
JSON
{
"hex": "#e787f2",
"rgb": {
"r": 231,
"g": 135,
"b": 242
},
"hsl": {
"h": 293.832,
"s": 80.451,
"l": 73.922
},
"oklch": {
"l": 0.76281,
"c": 0.17761,
"h": 323.3
},
"luminance": 0.40728
}Semantic roles & 50–950 ramp
primary
#E787F2
secondary
#DAF4D7
accent
#DD091F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85