#E786F6#E786F6
#E786F6 is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.3% C 0.183 H 322.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #E786F6 |
|---|---|
| RGB | rgb(231, 134, 246) |
| HSL | hsl(292, 86%, 75%) |
| HSV | hsv(292, 46%, 96%) |
| CMYK | cmyk(6.1%, 45.5%, 0%, 3.5%) |
| CIE-LAB | lab(69.96, 53.85, -40.84) |
| CIE-LCH | lch(69.96, 67.58, 322.82°) |
| OKLab | oklab(76.32% 0.1445 -0.1125) |
| OKLCH | oklch(76.32% 0.183 322.1) |
| XYZ | xyz(58.1128, 40.6953, 91.9648) |
| Luminance | 0.4069 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.21
Purply Pink
#F075E6
ΔE00 4.38
Lavender Pink
#DD85D7
ΔE00 5.23
Orchid
#DA70D6
ΔE00 6.48
Violet Pink
#FB5FFC
ΔE00 6.57
Light Magenta
#FA5FF7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786F6 #95F686
analogous
#AF86F6 #E786F6 #F686CD
triadic
#E786F6 #F6E786 #86F6E7
tetradic
#E786F6 #F6AF86 #95F686 #86CDF6
square
#E786F6 #F6AF86 #95F686 #86CDF6
split-complementary
#E786F6 #CDF686 #86F6AF
monochromatic
#D014EE #DC4DF2 #E786F6 #F2BFFA #F9E3FD
Accessibility & contrast
On white
2.30
#E786F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#E786F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786F6
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786F6 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A4FA
Deuteranopia (green-blind)
#92AFF3
Tritanopia (blue-blind)
#EA94B3
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e786f6; /* rgb */ color: rgb(231, 134, 246); /* oklch */ color: oklch(76.3% 0.183 322.1);
Tailwind
colors: {
custom: {
50: '#f0acf9',
500: '#e786f6',
950: '#000000',
},
}SCSS
$custom: #e786f6; $custom-light: #f0acf9; $custom-dark: #000000;
JSON
{
"hex": "#e786f6",
"rgb": {
"r": 231,
"g": 134,
"b": 246
},
"hsl": {
"h": 291.964,
"s": 86.154,
"l": 74.51
},
"oklch": {
"l": 0.76319,
"c": 0.18311,
"h": 322.1
},
"luminance": 0.40693
}Semantic roles & 50–950 ramp
primary
#E786F6
secondary
#DAF5D6
accent
#E30321
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85