#E786E2#E786E2
#E786E2 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.4% C 0.164 H 328.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #E786E2 |
|---|---|
| RGB | rgb(231, 134, 226) |
| HSL | hsl(303, 67%, 72%) |
| HSV | hsv(303, 42%, 91%) |
| CMYK | cmyk(0%, 42%, 2.2%, 9.4%) |
| CIE-LAB | lab(69.14, 50.21, -31.14) |
| CIE-LCH | lch(69.14, 59.08, 328.20°) |
| OKLab | oklab(75.43% 0.1407 -0.0848) |
| OKLCH | oklch(75.43% 0.164 328.9) |
| XYZ | xyz(55.2067, 39.5329, 76.6594) |
| Luminance | 0.3953 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.12
Violet (CSS)
#EE82EE
ΔE00 2.30
Purply Pink
#F075E6
ΔE00 3.58
Orchid
#DA70D6
ΔE00 5.39
Candy Pink
#FF63E9
ΔE00 6.50
Plum
#DDA0DD
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786E2 #86E78B
analogous
#BC86E7 #E786E2 #E786B2
triadic
#E786E2 #E2E786 #86E2E7
tetradic
#E786E2 #E7BC86 #86E78B #86B2E7
square
#E786E2 #E7BC86 #86E78B #86B2E7
split-complementary
#E786E2 #B2E786 #86E7BC
monochromatic
#CA28C2 #DD53D6 #E786E2 #F1B9EE #FAE5F9
Accessibility & contrast
On white
2.36
#E786E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#E786E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786E2
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786E2 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80A1E5
Deuteranopia (green-blind)
#9AADDF
Tritanopia (blue-blind)
#ED8EAA
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #e786e2; /* rgb */ color: rgb(231, 134, 226); /* oklch */ color: oklch(75.4% 0.164 328.9);
Tailwind
colors: {
custom: {
50: '#f0aceb',
500: '#e786e2',
950: '#000000',
},
}SCSS
$custom: #e786e2; $custom-light: #f0aceb; $custom-dark: #000000;
JSON
{
"hex": "#e786e2",
"rgb": {
"r": 231,
"g": 134,
"b": 226
},
"hsl": {
"h": 303.093,
"s": 66.897,
"l": 71.569
},
"oklch": {
"l": 0.75432,
"c": 0.1643,
"h": 328.9
},
"luminance": 0.3953
}Semantic roles & 50–950 ramp
primary
#E786E2
secondary
#D8F1D9
accent
#CF2017
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84