#E786EF#E786EF
#E786EF is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.0% C 0.176 H 324.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #E786EF |
|---|---|
| RGB | rgb(231, 134, 239) |
| HSL | hsl(295, 77%, 73%) |
| HSV | hsv(295, 44%, 94%) |
| CMYK | cmyk(3.3%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(69.66, 52.55, -37.47) |
| CIE-LCH | lch(69.66, 64.54, 324.51°) |
| OKLab | oklab(76% 0.1433 -0.1028) |
| OKLCH | oklch(76% 0.176 324.3) |
| XYZ | xyz(57.0586, 40.2736, 86.4127) |
| Luminance | 0.4027 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.42
Purply Pink
#F075E6
ΔE00 3.74
Lavender Pink
#DD85D7
ΔE00 4.08
Orchid
#DA70D6
ΔE00 5.87
Candy Pink
#FF63E9
ΔE00 6.54
Light Magenta
#FA5FF7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786EF #8EEF86
analogous
#B386EF #E786EF #EF86C2
triadic
#E786EF #EFE786 #86EFE7
tetradic
#E786EF #EFB386 #8EEF86 #86C2EF
square
#E786EF #EFB386 #8EEF86 #86C2EF
split-complementary
#E786EF #C2EF86 #86EFB3
monochromatic
#CF1DDD #DC50E8 #E786EF #F2BCF6 #FAE4FB
Accessibility & contrast
On white
2.32
#E786EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#E786EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786EF
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786EF | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA3F3
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#EB92AF
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #e786ef; /* rgb */ color: rgb(231, 134, 239); /* oklch */ color: oklch(76.0% 0.176 324.3);
Tailwind
colors: {
custom: {
50: '#f0acf4',
500: '#e786ef',
950: '#000000',
},
}SCSS
$custom: #e786ef; $custom-light: #f0acf4; $custom-dark: #000000;
JSON
{
"hex": "#e786ef",
"rgb": {
"r": 231,
"g": 134,
"b": 239
},
"hsl": {
"h": 295.429,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.76,
"c": 0.17636,
"h": 324.3
},
"luminance": 0.40271
}Semantic roles & 50–950 ramp
primary
#E786EF
secondary
#DAF3D8
accent
#D90D1C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85