#ebacf8
a light, electric violet · warm · closest name: plum
RGB
235, 172, 248
HSL
290°, 84%, 82%
CMYK
5, 31, 0, 3
Luminance
0.5394
Every format
| HEX | #ebacf8 |
| RGB | rgb(235, 172, 248) |
| HSL | hsl(290, 84%, 82%) |
| CMYK | cmyk(5%, 31%, 0%, 3%) |
| LAB | lab(78.4 35.6 -28.8) |
| LCH | lch(78.4 45.8 321.1) |
| OKLCH | oklch(0.828 0.123 320.6) |
Copy-ready code
/* CSS */
color: #ebacf8;
background-color: #ebacf8;
/* Tailwind (arbitrary) */
class="text-[#ebacf8] bg-[#ebacf8]"
/* SCSS */
$brand: #ebacf8;
/* SwiftUI */
Color(red: 0.922, green: 0.675, blue: 0.973)
/* Android */
Color.parseColor("#ebacf8")Accessibility — WCAG contrast
Aa
#ebacf8 on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ebacf8 on black: 11.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.2%
Green67.5%
Blue97.3%
CMYK percentages
Cyan5.2%
Magenta30.6%
Yellow0.0%
Key (black)2.7%
Color previews
#ebacf8 text on a black background
contrast 11.79:1
Card sample
#ebacf8 text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ebacf8;
Background color
Panel with #ebacf8 background
background-color: #ebacf8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ebacf8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(235, 172, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 172, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebacf8; background: linear-gradient(135deg, #ebacf8, #F8ACD2);