#E786F0#E786F0
#E786F0 is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.0% C 0.177 H 324.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #E786F0 |
|---|---|
| RGB | rgb(231, 134, 240) |
| HSL | hsl(295, 78%, 73%) |
| HSV | hsv(295, 44%, 94%) |
| CMYK | cmyk(3.7%, 44.2%, 0%, 5.9%) |
| CIE-LAB | lab(69.71, 52.73, -37.96) |
| CIE-LCH | lch(69.71, 64.97, 324.25°) |
| OKLab | oklab(76.05% 0.1435 -0.1042) |
| OKLCH | oklch(76.05% 0.177 324) |
| XYZ | xyz(57.2068, 40.3329, 87.1929) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.50
Purply Pink
#F075E6
ΔE00 3.81
Lavender Pink
#DD85D7
ΔE00 4.25
Orchid
#DA70D6
ΔE00 5.95
Candy Pink
#FF63E9
ΔE00 6.58
Light Magenta
#FA5FF7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786F0 #8FF086
analogous
#B286F0 #E786F0 #F086C4
triadic
#E786F0 #F0E786 #86F0E7
tetradic
#E786F0 #F0B286 #8FF086 #86C4F0
square
#E786F0 #F0B286 #8FF086 #86C4F0
split-complementary
#E786F0 #C4F086 #86F0B2
monochromatic
#CF1CE0 #DC50E9 #E786F0 #F2BCF7 #FAE4FC
Accessibility & contrast
On white
2.32
#E786F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#E786F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786F0
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786F0 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA3F4
Deuteranopia (green-blind)
#95AEED
Tritanopia (blue-blind)
#EB92B0
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #e786f0; /* rgb */ color: rgb(231, 134, 240); /* oklch */ color: oklch(76.0% 0.177 324.0);
Tailwind
colors: {
custom: {
50: '#f0acf5',
500: '#e786f0',
950: '#000000',
},
}SCSS
$custom: #e786f0; $custom-light: #f0acf5; $custom-dark: #000000;
JSON
{
"hex": "#e786f0",
"rgb": {
"r": 231,
"g": 134,
"b": 240
},
"hsl": {
"h": 294.906,
"s": 77.941,
"l": 73.333
},
"oklch": {
"l": 0.76045,
"c": 0.17732,
"h": 324
},
"luminance": 0.4033
}Semantic roles & 50–950 ramp
primary
#E786F0
secondary
#DAF3D8
accent
#DA0B1D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85