#E78BFB#E78BFB
#E78BFB is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.3% C 0.180 H 320.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E78BFB |
|---|---|
| RGB | rgb(231, 139, 251) |
| HSL | hsl(289, 93%, 76%) |
| HSV | hsv(289, 45%, 98%) |
| CMYK | cmyk(8%, 44.6%, 0%, 1.6%) |
| CIE-LAB | lab(71.16, 52.27, -41.70) |
| CIE-LCH | lch(71.16, 66.86, 321.42°) |
| OKLab | oklab(77.28% 0.1384 -0.115) |
| OKLCH | oklch(77.28% 0.18 320.3) |
| XYZ | xyz(59.5981, 42.4214, 96.2968) |
| Luminance | 0.4242 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.19
Purply Pink
#F075E6
ΔE00 5.54
Lavender Pink
#DD85D7
ΔE00 5.98
Baby Purple
#CA9BF7
ΔE00 6.79
Liliac
#C48EFD
ΔE00 6.83
Violet Pink
#FB5FFC
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E78BFB #9FFB8B
analogous
#AF8BFB #E78BFB #FB8BD7
triadic
#E78BFB #FBE78B #8BFBE7
tetradic
#E78BFB #FBAF8B #9FFB8B #8BD7FB
square
#E78BFB #FBAF8B #9FFB8B #8BD7FB
split-complementary
#E78BFB #D7FB8B #8BFBAF
monochromatic
#CF15F7 #DB50F9 #E78BFB #F3C6FD #F9E1FE
Accessibility & contrast
On white
2.21
#E78BFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#E78BFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E78BFB
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E78BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E78BFB | 1.00 | 2.21 | 9.48 | 9.48 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#E999B7
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #e78bfb; /* rgb */ color: rgb(231, 139, 251); /* oklch */ color: oklch(77.3% 0.180 320.3);
Tailwind
colors: {
custom: {
50: '#f0affd',
500: '#e78bfb',
950: '#000000',
},
}SCSS
$custom: #e78bfb; $custom-light: #f0affd; $custom-dark: #000000;
JSON
{
"hex": "#e78bfb",
"rgb": {
"r": 231,
"g": 139,
"b": 251
},
"hsl": {
"h": 289.286,
"s": 93.333,
"l": 76.471
},
"oklch": {
"l": 0.77283,
"c": 0.17995,
"h": 320.3
},
"luminance": 0.42419
}Semantic roles & 50–950 ramp
primary
#E78BFB
secondary
#DBF6D5
accent
#E60029
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171117
muted
#858085