#E786F3#E786F3
#E786F3 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.2% C 0.180 H 323.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #E786F3 |
|---|---|
| RGB | rgb(231, 134, 243) |
| HSL | hsl(293, 82%, 74%) |
| HSV | hsv(293, 45%, 95%) |
| CMYK | cmyk(4.9%, 44.9%, 0%, 4.7%) |
| CIE-LAB | lab(69.83, 53.29, -39.40) |
| CIE-LCH | lch(69.83, 66.27, 323.52°) |
| OKLab | oklab(76.18% 0.144 -0.1084) |
| OKLCH | oklch(76.18% 0.18 323) |
| XYZ | xyz(57.6561, 40.5126, 89.5593) |
| Luminance | 0.4051 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.82
Purply Pink
#F075E6
ΔE00 4.07
Lavender Pink
#DD85D7
ΔE00 4.74
Orchid
#DA70D6
ΔE00 6.20
Light Magenta
#FA5FF7
ΔE00 6.62
Violet Pink
#FB5FFC
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786F3 #92F386
analogous
#B186F3 #E786F3 #F386C9
triadic
#E786F3 #F3E786 #86F3E7
tetradic
#E786F3 #F3B186 #92F386 #86C9F3
square
#E786F3 #F3B186 #92F386 #86C9F3
split-complementary
#E786F3 #C9F386 #86F3B1
monochromatic
#D117E8 #DC4EED #E786F3 #F2BEF9 #F9E3FC
Accessibility & contrast
On white
2.31
#E786F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#E786F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786F3
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786F3 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A3F7
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#EA93B1
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e786f3; /* rgb */ color: rgb(231, 134, 243); /* oklch */ color: oklch(76.2% 0.180 323.0);
Tailwind
colors: {
custom: {
50: '#f0acf7',
500: '#e786f3',
950: '#000000',
},
}SCSS
$custom: #e786f3; $custom-light: #f0acf7; $custom-dark: #000000;
JSON
{
"hex": "#e786f3",
"rgb": {
"r": 231,
"g": 134,
"b": 243
},
"hsl": {
"h": 293.394,
"s": 81.955,
"l": 73.922
},
"oklch": {
"l": 0.76181,
"c": 0.1802,
"h": 323
},
"luminance": 0.4051
}Semantic roles & 50–950 ramp
primary
#E786F3
secondary
#DAF4D7
accent
#DE071F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85