#E78BF8#E78BF8
#E78BF8 is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.1% C 0.177 H 321.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E78BF8 |
|---|---|
| RGB | rgb(231, 139, 248) |
| HSL | hsl(291, 89%, 76%) |
| HSV | hsv(291, 44%, 97%) |
| CMYK | cmyk(6.9%, 44%, 0%, 2.7%) |
| CIE-LAB | lab(71.03, 51.70, -40.27) |
| CIE-LCH | lch(71.03, 65.53, 322.09°) |
| OKLab | oklab(77.14% 0.1379 -0.1109) |
| OKLCH | oklch(77.14% 0.177 321.2) |
| XYZ | xyz(59.1289, 42.2337, 93.8260) |
| Luminance | 0.4223 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.82
Purply Pink
#F075E6
ΔE00 5.25
Lavender Pink
#DD85D7
ΔE00 5.50
Baby Purple
#CA9BF7
ΔE00 6.91
Liliac
#C48EFD
ΔE00 7.10
Orchid
#DA70D6
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E78BF8 #9CF88B
analogous
#B08BF8 #E78BF8 #F88BD2
triadic
#E78BF8 #F8E78B #8BF8E7
tetradic
#E78BF8 #F8B08B #9CF88B #8BD2F8
square
#E78BF8 #F8B08B #9CF88B #8BD2F8
split-complementary
#E78BF8 #D2F88B #8BF8B0
monochromatic
#CF18F1 #DB51F5 #E78BF8 #F3C5FB #F9E2FD
Accessibility & contrast
On white
2.22
#E78BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#E78BF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E78BF8
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E78BF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E78BF8 | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#95B1F5
Tritanopia (blue-blind)
#E998B6
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #e78bf8; /* rgb */ color: rgb(231, 139, 248); /* oklch */ color: oklch(77.1% 0.177 321.2);
Tailwind
colors: {
custom: {
50: '#f0affb',
500: '#e78bf8',
950: '#000000',
},
}SCSS
$custom: #e78bf8; $custom-light: #f0affb; $custom-dark: #000000;
JSON
{
"hex": "#e78bf8",
"rgb": {
"r": 231,
"g": 139,
"b": 248
},
"hsl": {
"h": 290.642,
"s": 88.618,
"l": 75.882
},
"oklch": {
"l": 0.77144,
"c": 0.17695,
"h": 321.2
},
"luminance": 0.42231
}Semantic roles & 50–950 ramp
primary
#E78BF8
secondary
#DBF5D6
accent
#E50024
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171117
muted
#858085