#E786FF#E786FF
#E786FF is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.7% C 0.192 H 319.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #E786FF |
|---|---|
| RGB | rgb(231, 134, 255) |
| HSL | hsl(288, 100%, 76%) |
| HSV | hsv(288, 47%, 100%) |
| CMYK | cmyk(9.4%, 47.5%, 0%, 0%) |
| CIE-LAB | lab(70.36, 55.55, -45.13) |
| CIE-LCH | lch(70.36, 71.58, 320.91°) |
| OKLab | oklab(76.74% 0.1458 -0.1249) |
| OKLCH | oklch(76.74% 0.192 319.4) |
| XYZ | xyz(59.5278, 41.2613, 99.4169) |
| Luminance | 0.4126 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.55
Purply Pink
#F075E6
ΔE00 5.45
Violet Pink
#FB5FFC
ΔE00 6.59
Liliac
#C48EFD
ΔE00 6.67
Lavender Pink
#DD85D7
ΔE00 6.68
Light Magenta
#FA5FF7
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786FF #9EFF86
analogous
#AB86FF #E786FF #FF86DB
triadic
#E786FF #FFE786 #86FFE7
tetradic
#E786FF #FFAB86 #9EFF86 #86DBFF
square
#E786FF #FFAB86 #9EFF86 #86DBFF
split-complementary
#E786FF #DBFF86 #86FFAB
monochromatic
#CF0CFF #DB49FF #E786FF #F3C3FF #F9E0FF
Accessibility & contrast
On white
2.27
#E786FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#E786FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786FF
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786FF | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#8EB0FC
Tritanopia (blue-blind)
#E896B7
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e786ff; /* rgb */ color: rgb(231, 134, 255); /* oklch */ color: oklch(76.7% 0.192 319.4);
Tailwind
colors: {
custom: {
50: '#f1acff',
500: '#e786ff',
950: '#000000',
},
}SCSS
$custom: #e786ff; $custom-light: #f1acff; $custom-dark: #000000;
JSON
{
"hex": "#e786ff",
"rgb": {
"r": 231,
"g": 134,
"b": 255
},
"hsl": {
"h": 288.099,
"s": 100,
"l": 76.275
},
"oklch": {
"l": 0.76744,
"c": 0.19198,
"h": 319.4
},
"luminance": 0.41259
}Semantic roles & 50–950 ramp
primary
#E786FF
secondary
#DBF7D4
accent
#E6002E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86