#E786F5#E786F5
#E786F5 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.3% C 0.182 H 322.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #E786F5 |
|---|---|
| RGB | rgb(231, 134, 245) |
| HSL | hsl(292, 85%, 74%) |
| HSV | hsv(292, 45%, 96%) |
| CMYK | cmyk(5.7%, 45.3%, 0%, 3.9%) |
| CIE-LAB | lab(69.92, 53.66, -40.36) |
| CIE-LCH | lch(69.92, 67.15, 323.05°) |
| OKLab | oklab(76.27% 0.1443 -0.1111) |
| OKLCH | oklch(76.27% 0.182 322.4) |
| XYZ | xyz(57.9598, 40.6341, 91.1586) |
| Luminance | 0.4063 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.08
Purply Pink
#F075E6
ΔE00 4.27
Lavender Pink
#DD85D7
ΔE00 5.07
Orchid
#DA70D6
ΔE00 6.38
Violet Pink
#FB5FFC
ΔE00 6.59
Light Magenta
#FA5FF7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786F5 #94F586
analogous
#B086F5 #E786F5 #F586CC
triadic
#E786F5 #F5E786 #86F5E7
tetradic
#E786F5 #F5B086 #94F586 #86CCF5
square
#E786F5 #F5B086 #94F586 #86CCF5
split-complementary
#E786F5 #CCF586 #86F5B0
monochromatic
#D115EC #DC4DF0 #E786F5 #F2BFFA #F9E3FD
Accessibility & contrast
On white
2.30
#E786F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#E786F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786F5
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786F5 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A4F9
Deuteranopia (green-blind)
#93AFF2
Tritanopia (blue-blind)
#EA94B2
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e786f5; /* rgb */ color: rgb(231, 134, 245); /* oklch */ color: oklch(76.3% 0.182 322.4);
Tailwind
colors: {
custom: {
50: '#f0acf9',
500: '#e786f5',
950: '#000000',
},
}SCSS
$custom: #e786f5; $custom-light: #f0acf9; $custom-dark: #000000;
JSON
{
"hex": "#e786f5",
"rgb": {
"r": 231,
"g": 134,
"b": 245
},
"hsl": {
"h": 292.432,
"s": 84.733,
"l": 74.314
},
"oklch": {
"l": 0.76273,
"c": 0.18214,
"h": 322.4
},
"luminance": 0.40632
}Semantic roles & 50–950 ramp
primary
#E786F5
secondary
#DAF5D6
accent
#E10420
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85