#E786F9#E786F9
#E786F9 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.5% C 0.186 H 321.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #E786F9 |
|---|---|
| RGB | rgb(231, 134, 249) |
| HSL | hsl(291, 91%, 75%) |
| HSV | hsv(291, 46%, 98%) |
| CMYK | cmyk(7.2%, 46.2%, 0%, 2.4%) |
| CIE-LAB | lab(70.09, 54.41, -42.28) |
| CIE-LCH | lch(70.09, 68.91, 322.15°) |
| OKLab | oklab(76.46% 0.1449 -0.1166) |
| OKLCH | oklch(76.46% 0.186 321.2) |
| XYZ | xyz(58.5770, 40.8810, 94.4094) |
| Luminance | 0.4088 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.64
Purply Pink
#F075E6
ΔE00 4.71
Lavender Pink
#DD85D7
ΔE00 5.72
Violet Pink
#FB5FFC
ΔE00 6.54
Light Magenta
#FA5FF7
ΔE00 6.62
Orchid
#DA70D6
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786F9 #98F986
analogous
#AE86F9 #E786F9 #F986D1
triadic
#E786F9 #F9E786 #86F9E7
tetradic
#E786F9 #F9AE86 #98F986 #86D1F9
square
#E786F9 #F9AE86 #98F986 #86D1F9
split-complementary
#E786F9 #D1F986 #86F9AE
monochromatic
#D011F3 #DB4CF6 #E786F9 #F3C0FC #F9E2FE
Accessibility & contrast
On white
2.29
#E786F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#E786F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786F9
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786F9 | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A4FD
Deuteranopia (green-blind)
#91AFF6
Tritanopia (blue-blind)
#E995B4
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e786f9; /* rgb */ color: rgb(231, 134, 249); /* oklch */ color: oklch(76.5% 0.186 321.2);
Tailwind
colors: {
custom: {
50: '#f1acfb',
500: '#e786f9',
950: '#000000',
},
}SCSS
$custom: #e786f9; $custom-light: #f1acfb; $custom-dark: #000000;
JSON
{
"hex": "#e786f9",
"rgb": {
"r": 231,
"g": 134,
"b": 249
},
"hsl": {
"h": 290.609,
"s": 90.551,
"l": 75.098
},
"oklch": {
"l": 0.76459,
"c": 0.18604,
"h": 321.2
},
"luminance": 0.40879
}Semantic roles & 50–950 ramp
primary
#E786F9
secondary
#DAF6D5
accent
#E60024
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85