#E786E8#E786E8
#E786E8 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.7% C 0.170 H 326.7°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #E786E8 |
|---|---|
| RGB | rgb(231, 134, 232) |
| HSL | hsl(299, 68%, 72%) |
| HSV | hsv(299, 42%, 91%) |
| CMYK | cmyk(0.4%, 42.2%, 0%, 9%) |
| CIE-LAB | lab(69.38, 51.28, -34.07) |
| CIE-LCH | lch(69.38, 61.57, 326.40°) |
| OKLab | oklab(75.69% 0.142 -0.0931) |
| OKLCH | oklch(75.69% 0.17 326.7) |
| XYZ | xyz(56.0445, 39.8680, 81.0715) |
| Luminance | 0.3987 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.51
Lavender Pink
#DD85D7
ΔE00 2.96
Purply Pink
#F075E6
ΔE00 3.44
Orchid
#DA70D6
ΔE00 5.48
Candy Pink
#FF63E9
ΔE00 6.40
Light Magenta
#FA5FF7
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786E8 #87E886
analogous
#B686E8 #E786E8 #E886B8
triadic
#E786E8 #E8E786 #86E8E7
tetradic
#E786E8 #E8B686 #87E886 #86B8E8
square
#E786E8 #E8B686 #87E886 #86B8E8
split-complementary
#E786E8 #B8E886 #86E8B6
monochromatic
#CB27CD #DD53DE #E786E8 #F1B9F2 #FAE5FA
Accessibility & contrast
On white
2.34
#E786E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#E786E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786E8
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786E8 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA2EB
Deuteranopia (green-blind)
#98AEE5
Tritanopia (blue-blind)
#EC90AC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #e786e8; /* rgb */ color: rgb(231, 134, 232); /* oklch */ color: oklch(75.7% 0.170 326.7);
Tailwind
colors: {
custom: {
50: '#f0acef',
500: '#e786e8',
950: '#000000',
},
}SCSS
$custom: #e786e8; $custom-light: #f0acef; $custom-dark: #000000;
JSON
{
"hex": "#e786e8",
"rgb": {
"r": 231,
"g": 134,
"b": 232
},
"hsl": {
"h": 299.388,
"s": 68.056,
"l": 71.765
},
"oklch": {
"l": 0.7569,
"c": 0.16978,
"h": 326.7
},
"luminance": 0.39865
}Semantic roles & 50–950 ramp
primary
#E786E8
secondary
#D9F1D8
accent
#D01617
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84