#E786E7#E786E7
#E786E7 is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.6% C 0.169 H 327.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #E786E7 |
|---|---|
| RGB | rgb(231, 134, 231) |
| HSL | hsl(300, 67%, 72%) |
| HSV | hsv(300, 42%, 91%) |
| CMYK | cmyk(0%, 42%, 0%, 9.4%) |
| CIE-LAB | lab(69.33, 51.10, -33.59) |
| CIE-LCH | lch(69.33, 61.15, 326.69°) |
| OKLab | oklab(75.65% 0.1417 -0.0918) |
| OKLCH | oklch(75.65% 0.169 327.1) |
| XYZ | xyz(55.9028, 39.8113, 80.3255) |
| Luminance | 0.3981 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.61
Lavender Pink
#DD85D7
ΔE00 2.80
Purply Pink
#F075E6
ΔE00 3.44
Orchid
#DA70D6
ΔE00 5.45
Candy Pink
#FF63E9
ΔE00 6.41
Light Magenta
#FA5FF7
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786E7 #86E786
analogous
#B786E7 #E786E7 #E786B7
triadic
#E786E7 #E7E786 #86E7E7
tetradic
#E786E7 #E7B786 #86E786 #86B7E7
square
#E786E7 #E7B786 #86E786 #86B7E7
split-complementary
#E786E7 #B7E786 #86E7B7
monochromatic
#CA28CA #DD53DD #E786E7 #F1B9F1 #FAE5FA
Accessibility & contrast
On white
2.34
#E786E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#E786E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786E7
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786E7 | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA1EA
Deuteranopia (green-blind)
#99AEE4
Tritanopia (blue-blind)
#EC90AC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #e786e7; /* rgb */ color: rgb(231, 134, 231); /* oklch */ color: oklch(75.6% 0.169 327.1);
Tailwind
colors: {
custom: {
50: '#f0acef',
500: '#e786e7',
950: '#000000',
},
}SCSS
$custom: #e786e7; $custom-light: #f0acef; $custom-dark: #000000;
JSON
{
"hex": "#e786e7",
"rgb": {
"r": 231,
"g": 134,
"b": 231
},
"hsl": {
"h": 300,
"s": 66.897,
"l": 71.569
},
"oklch": {
"l": 0.75646,
"c": 0.16886,
"h": 327.1
},
"luminance": 0.39809
}Semantic roles & 50–950 ramp
primary
#E786E7
secondary
#D8F1D8
accent
#CF1717
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84