Skip to content

#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
RGBrgb(236, 171, 248)
HSLhsl(291, 85%, 82%)
CMYKcmyk(5%, 31%, 0%, 3%)
LABlab(78.3 36.5 -29.0)
LCHlch(78.3 46.6 321.6)
OKLCHoklch(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);

Monochromatic scale

Palettes built from #ecabf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecabf8 in the Color Lab