#E786FD#E786FD
#E786FD is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.6% C 0.190 H 320.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #E786FD |
|---|---|
| RGB | rgb(231, 134, 253) |
| HSL | hsl(289, 97%, 76%) |
| HSV | hsv(289, 47%, 99%) |
| CMYK | cmyk(8.7%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(70.27, 55.17, -44.18) |
| CIE-LCH | lch(70.27, 70.68, 321.31°) |
| OKLab | oklab(76.65% 0.1455 -0.1221) |
| OKLCH | oklch(76.65% 0.19 320) |
| XYZ | xyz(59.2075, 41.1332, 97.7302) |
| Luminance | 0.4113 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.24
Purply Pink
#F075E6
ΔE00 5.20
Lavender Pink
#DD85D7
ΔE00 6.37
Violet Pink
#FB5FFC
ΔE00 6.56
Light Magenta
#FA5FF7
ΔE00 6.70
Liliac
#C48EFD
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786FD #9CFD86
analogous
#AB86FD #E786FD #FD86D7
triadic
#E786FD #FDE786 #86FDE7
tetradic
#E786FD #FDAB86 #9CFD86 #86D7FD
square
#E786FD #FDAB86 #9CFD86 #86D7FD
split-complementary
#E786FD #D7FD86 #86FDAB
monochromatic
#CF0EFB #DB4AFC #E786FD #F3C2FE #F9E1FF
Accessibility & contrast
On white
2.28
#E786FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#E786FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786FD
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786FD | 1.00 | 2.28 | 9.23 | 9.23 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#8FAFFA
Tritanopia (blue-blind)
#E896B6
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e786fd; /* rgb */ color: rgb(231, 134, 253); /* oklch */ color: oklch(76.6% 0.190 320.0);
Tailwind
colors: {
custom: {
50: '#f1acfe',
500: '#e786fd',
950: '#000000',
},
}SCSS
$custom: #e786fd; $custom-light: #f1acfe; $custom-dark: #000000;
JSON
{
"hex": "#e786fd",
"rgb": {
"r": 231,
"g": 134,
"b": 253
},
"hsl": {
"h": 288.908,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.76648,
"c": 0.18999,
"h": 320
},
"luminance": 0.41131
}Semantic roles & 50–950 ramp
primary
#E786FD
secondary
#DBF7D4
accent
#E6002A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86