#E786F2#E786F2
#E786F2 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.1% C 0.179 H 323.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E786F2 |
|---|---|
| RGB | rgb(231, 134, 242) |
| HSL | hsl(294, 81%, 74%) |
| HSV | hsv(294, 45%, 95%) |
| CMYK | cmyk(4.5%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(69.79, 53.10, -38.92) |
| CIE-LCH | lch(69.79, 65.84, 323.76°) |
| OKLab | oklab(76.13% 0.1438 -0.107) |
| OKLCH | oklch(76.13% 0.179 323.3) |
| XYZ | xyz(57.5055, 40.4524, 88.7662) |
| Luminance | 0.4045 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.70
Purply Pink
#F075E6
ΔE00 3.98
Lavender Pink
#DD85D7
ΔE00 4.58
Orchid
#DA70D6
ΔE00 6.11
Light Magenta
#FA5FF7
ΔE00 6.64
Candy Pink
#FF63E9
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786F2 #91F286
analogous
#B186F2 #E786F2 #F286C7
triadic
#E786F2 #F2E786 #86F2E7
tetradic
#E786F2 #F2B186 #91F286 #86C7F2
square
#E786F2 #F2B186 #91F286 #86C7F2
split-complementary
#E786F2 #C7F286 #86F2B1
monochromatic
#D019E5 #DC4FEC #E786F2 #F2BDF8 #FAE3FC
Accessibility & contrast
On white
2.31
#E786F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#E786F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786F2
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786F2 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#94AFEF
Tritanopia (blue-blind)
#EA93B1
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #e786f2; /* rgb */ color: rgb(231, 134, 242); /* oklch */ color: oklch(76.1% 0.179 323.3);
Tailwind
colors: {
custom: {
50: '#f0acf6',
500: '#e786f2',
950: '#000000',
},
}SCSS
$custom: #e786f2; $custom-light: #f0acf6; $custom-dark: #000000;
JSON
{
"hex": "#e786f2",
"rgb": {
"r": 231,
"g": 134,
"b": 242
},
"hsl": {
"h": 293.889,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.76135,
"c": 0.17924,
"h": 323.3
},
"luminance": 0.4045
}Semantic roles & 50–950 ramp
primary
#E786F2
secondary
#DAF4D7
accent
#DD091E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85