#E786FE#E786FE
#E786FE is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.7% C 0.191 H 319.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E786FE |
|---|---|
| RGB | rgb(231, 134, 254) |
| HSL | hsl(289, 98%, 76%) |
| HSV | hsv(289, 47%, 100%) |
| CMYK | cmyk(9.1%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(70.31, 55.36, -44.66) |
| CIE-LCH | lch(70.31, 71.13, 321.11°) |
| OKLab | oklab(76.7% 0.1457 -0.1235) |
| OKLCH | oklch(76.7% 0.191 319.7) |
| XYZ | xyz(59.3672, 41.1971, 98.5713) |
| Luminance | 0.4119 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.40
Purply Pink
#F075E6
ΔE00 5.32
Lavender Pink
#DD85D7
ΔE00 6.53
Violet Pink
#FB5FFC
ΔE00 6.57
Liliac
#C48EFD
ΔE00 6.73
Light Magenta
#FA5FF7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786FE #9DFE86
analogous
#AB86FE #E786FE #FE86D9
triadic
#E786FE #FEE786 #86FEE7
tetradic
#E786FE #FEAB86 #9DFE86 #86D9FE
square
#E786FE #FEAB86 #9DFE86 #86D9FE
split-complementary
#E786FE #D9FE86 #86FEAB
monochromatic
#CF0DFD #DB49FD #E786FE #F3C3FF #F9E1FF
Accessibility & contrast
On white
2.27
#E786FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#E786FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786FE
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786FE | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#8FAFFB
Tritanopia (blue-blind)
#E896B6
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e786fe; /* rgb */ color: rgb(231, 134, 254); /* oklch */ color: oklch(76.7% 0.191 319.7);
Tailwind
colors: {
custom: {
50: '#f1acff',
500: '#e786fe',
950: '#000000',
},
}SCSS
$custom: #e786fe; $custom-light: #f1acff; $custom-dark: #000000;
JSON
{
"hex": "#e786fe",
"rgb": {
"r": 231,
"g": 134,
"b": 254
},
"hsl": {
"h": 288.5,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.76696,
"c": 0.19098,
"h": 319.7
},
"luminance": 0.41195
}Semantic roles & 50–950 ramp
primary
#E786FE
secondary
#DBF7D4
accent
#E6002C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86