#E786EB#E786EB
#E786EB is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.8% C 0.173 H 325.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #E786EB |
|---|---|
| RGB | rgb(231, 134, 235) |
| HSL | hsl(298, 72%, 72%) |
| HSV | hsv(298, 43%, 92%) |
| CMYK | cmyk(1.7%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(69.50, 51.82, -35.53) |
| CIE-LCH | lch(69.50, 62.83, 325.56°) |
| OKLab | oklab(75.82% 0.1425 -0.0973) |
| OKLCH | oklch(75.82% 0.173 325.7) |
| XYZ | xyz(56.4742, 40.0399, 83.3349) |
| Luminance | 0.4004 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.33
Lavender Pink
#DD85D7
ΔE00 3.43
Purply Pink
#F075E6
ΔE00 3.52
Orchid
#DA70D6
ΔE00 5.62
Candy Pink
#FF63E9
ΔE00 6.43
Light Magenta
#FA5FF7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786EB #8AEB86
analogous
#B586EB #E786EB #EB86BC
triadic
#E786EB #EBE786 #86EBE7
tetradic
#E786EB #EBB586 #8AEB86 #86BCEB
square
#E786EB #EBB586 #8AEB86 #86BCEB
split-complementary
#E786EB #BCEB86 #86EBB5
monochromatic
#CD23D4 #DD51E2 #E786EB #F1BBF4 #FAE5FB
Accessibility & contrast
On white
2.33
#E786EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#E786EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786EB
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786EB | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA2EF
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#EC91AE
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #e786eb; /* rgb */ color: rgb(231, 134, 235); /* oklch */ color: oklch(75.8% 0.173 325.7);
Tailwind
colors: {
custom: {
50: '#f0acf1',
500: '#e786eb',
950: '#000000',
},
}SCSS
$custom: #e786eb; $custom-light: #f0acf1; $custom-dark: #000000;
JSON
{
"hex": "#e786eb",
"rgb": {
"r": 231,
"g": 134,
"b": 235
},
"hsl": {
"h": 297.624,
"s": 71.631,
"l": 72.353
},
"oklch": {
"l": 0.75821,
"c": 0.17258,
"h": 325.7
},
"luminance": 0.40037
}Semantic roles & 50–950 ramp
primary
#E786EB
secondary
#DAF2D9
accent
#D41219
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85