#E786ED#E786ED
#E786ED is a light, vivid purple. Relative luminance 0.402; OKLCH L 75.9% C 0.174 H 325.0°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E786ED |
|---|---|
| RGB | rgb(231, 134, 237) |
| HSL | hsl(297, 74%, 73%) |
| HSV | hsv(297, 43%, 93%) |
| CMYK | cmyk(2.5%, 43.5%, 0%, 7.1%) |
| CIE-LAB | lab(69.58, 52.18, -36.50) |
| CIE-LCH | lch(69.58, 63.69, 325.03°) |
| OKLab | oklab(75.91% 0.1429 -0.1001) |
| OKLCH | oklch(75.91% 0.174 325) |
| XYZ | xyz(56.7648, 40.1561, 84.8652) |
| Luminance | 0.4015 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.33
Purply Pink
#F075E6
ΔE00 3.61
Lavender Pink
#DD85D7
ΔE00 3.76
Orchid
#DA70D6
ΔE00 5.73
Candy Pink
#FF63E9
ΔE00 6.47
Light Magenta
#FA5FF7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786ED #8CED86
analogous
#B386ED #E786ED #ED86BF
triadic
#E786ED #EDE786 #86EDE7
tetradic
#E786ED #EDB386 #8CED86 #86BFED
square
#E786ED #EDB386 #8CED86 #86BFED
split-complementary
#E786ED #BFED86 #86EDB3
monochromatic
#CE20D8 #DC51E5 #E786ED #F2BBF5 #FAE4FB
Accessibility & contrast
On white
2.33
#E786ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#E786ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786ED
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786ED | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA2F1
Deuteranopia (green-blind)
#96AEEA
Tritanopia (blue-blind)
#EB91AE
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #e786ed; /* rgb */ color: rgb(231, 134, 237); /* oklch */ color: oklch(75.9% 0.174 325.0);
Tailwind
colors: {
custom: {
50: '#f0acf3',
500: '#e786ed',
950: '#000000',
},
}SCSS
$custom: #e786ed; $custom-light: #f0acf3; $custom-dark: #000000;
JSON
{
"hex": "#e786ed",
"rgb": {
"r": 231,
"g": 134,
"b": 237
},
"hsl": {
"h": 296.505,
"s": 74.101,
"l": 72.745
},
"oklch": {
"l": 0.7591,
"c": 0.17447,
"h": 325
},
"luminance": 0.40154
}Semantic roles & 50–950 ramp
primary
#E786ED
secondary
#DAF3D8
accent
#D60F1B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85