#E786F1#E786F1
#E786F1 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.1% C 0.178 H 323.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #E786F1 |
|---|---|
| RGB | rgb(231, 134, 241) |
| HSL | hsl(294, 79%, 74%) |
| HSV | hsv(294, 44%, 95%) |
| CMYK | cmyk(4.1%, 44.4%, 0%, 5.5%) |
| CIE-LAB | lab(69.75, 52.92, -38.44) |
| CIE-LCH | lch(69.75, 65.41, 324.01°) |
| OKLab | oklab(76.09% 0.1436 -0.1056) |
| OKLCH | oklch(76.09% 0.178 323.7) |
| XYZ | xyz(57.3557, 40.3925, 87.9774) |
| Luminance | 0.4039 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.60
Purply Pink
#F075E6
ΔE00 3.89
Lavender Pink
#DD85D7
ΔE00 4.41
Orchid
#DA70D6
ΔE00 6.03
Candy Pink
#FF63E9
ΔE00 6.62
Light Magenta
#FA5FF7
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786F1 #90F186
analogous
#B186F1 #E786F1 #F186C5
triadic
#E786F1 #F1E786 #86F1E7
tetradic
#E786F1 #F1B186 #90F186 #86C5F1
square
#E786F1 #F1B186 #90F186 #86C5F1
split-complementary
#E786F1 #C5F186 #86F1B1
monochromatic
#D01AE2 #DC4FEB #E786F1 #F2BDF7 #FAE4FC
Accessibility & contrast
On white
2.31
#E786F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#E786F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786F1
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786F1 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A3F5
Deuteranopia (green-blind)
#94AEEE
Tritanopia (blue-blind)
#EB92B0
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #e786f1; /* rgb */ color: rgb(231, 134, 241); /* oklch */ color: oklch(76.1% 0.178 323.7);
Tailwind
colors: {
custom: {
50: '#f0acf6',
500: '#e786f1',
950: '#000000',
},
}SCSS
$custom: #e786f1; $custom-light: #f0acf6; $custom-dark: #000000;
JSON
{
"hex": "#e786f1",
"rgb": {
"r": 231,
"g": 134,
"b": 241
},
"hsl": {
"h": 294.393,
"s": 79.259,
"l": 73.529
},
"oklch": {
"l": 0.7609,
"c": 0.17828,
"h": 323.7
},
"luminance": 0.4039
}Semantic roles & 50–950 ramp
primary
#E786F1
secondary
#DAF4D7
accent
#DC0A1E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85