#ecabf8
a light, electric magenta / pink · warm · closest name: plum
RGB
236, 171, 248
HSL
291°, 85%, 82%
CMYK
5, 31, 0, 3
Luminance
0.5374
Every format
| HEX | #ecabf8 |
| RGB | rgb(236, 171, 248) |
| HSL | hsl(291, 85%, 82%) |
| CMYK | cmyk(5%, 31%, 0%, 3%) |
| LAB | lab(78.3 36.5 -29.0) |
| LCH | lch(78.3 46.6 321.6) |
| OKLCH | oklch(0.828 0.126 321.1) |
Copy-ready code
/* CSS */
color: #ecabf8;
background-color: #ecabf8;
/* Tailwind (arbitrary) */
class="text-[#ecabf8] bg-[#ecabf8]"
/* SCSS */
$brand: #ecabf8;
/* SwiftUI */
Color(red: 0.925, green: 0.671, blue: 0.973)
/* Android */
Color.parseColor("#ecabf8")Accessibility — WCAG contrast
Aa
#ecabf8 on white: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecabf8 on black: 11.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green67.1%
Blue97.3%
CMYK percentages
Cyan4.8%
Magenta31.0%
Yellow0.0%
Key (black)2.7%
Color previews
#ecabf8 text on a black background
contrast 11.75:1
Card sample
#ecabf8 text on a white background
contrast 1.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecabf8;
Background color
Panel with #ecabf8 background
background-color: #ecabf8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecabf8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 171, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 171, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecabf8; background: linear-gradient(135deg, #ecabf8, #F8ABD1);