#E786F8#E786F8
#E786F8 is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.4% C 0.185 H 321.5°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #E786F8 |
|---|---|
| RGB | rgb(231, 134, 248) |
| HSL | hsl(291, 89%, 75%) |
| HSV | hsv(291, 46%, 97%) |
| CMYK | cmyk(6.9%, 46%, 0%, 2.7%) |
| CIE-LAB | lab(70.05, 54.22, -41.80) |
| CIE-LCH | lch(70.05, 68.46, 322.37°) |
| OKLab | oklab(76.41% 0.1448 -0.1153) |
| OKLCH | oklch(76.41% 0.185 321.5) |
| XYZ | xyz(58.4214, 40.8188, 93.5902) |
| Luminance | 0.4082 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.50
Purply Pink
#F075E6
ΔE00 4.60
Lavender Pink
#DD85D7
ΔE00 5.56
Violet Pink
#FB5FFC
ΔE00 6.55
Light Magenta
#FA5FF7
ΔE00 6.61
Orchid
#DA70D6
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786F8 #97F886
analogous
#AE86F8 #E786F8 #F886D0
triadic
#E786F8 #F8E786 #86F8E7
tetradic
#E786F8 #F8AE86 #97F886 #86D0F8
square
#E786F8 #F8AE86 #97F886 #86D0F8
split-complementary
#E786F8 #D0F886 #86F8AE
monochromatic
#D012F1 #DC4CF5 #E786F8 #F2C0FB #F9E2FD
Accessibility & contrast
On white
2.29
#E786F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#E786F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786F8
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786F8 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#91AFF5
Tritanopia (blue-blind)
#E994B4
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e786f8; /* rgb */ color: rgb(231, 134, 248); /* oklch */ color: oklch(76.4% 0.185 321.5);
Tailwind
colors: {
custom: {
50: '#f0acfb',
500: '#e786f8',
950: '#000000',
},
}SCSS
$custom: #e786f8; $custom-light: #f0acfb; $custom-dark: #000000;
JSON
{
"hex": "#e786f8",
"rgb": {
"r": 231,
"g": 134,
"b": 248
},
"hsl": {
"h": 291.053,
"s": 89.063,
"l": 74.902
},
"oklch": {
"l": 0.76412,
"c": 0.18507,
"h": 321.5
},
"luminance": 0.40816
}Semantic roles & 50–950 ramp
primary
#E786F8
secondary
#DAF5D6
accent
#E60022
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85