Skip to content

#ecabf9

a light, electric magenta / pink · warm · closest name: plum

RGB
236, 171, 249
HSL
290°, 87%, 82%
CMYK
5, 31, 0, 2
Luminance
0.5380

Every format

HEX#ecabf9
RGBrgb(236, 171, 249)
HSLhsl(290, 87%, 82%)
CMYKcmyk(5%, 31%, 0%, 2%)
LABlab(78.3 36.7 -29.4)
LCHlch(78.3 47.0 321.2)
OKLCHoklch(0.828 0.127 320.7)

Copy-ready code

/* CSS */
color: #ecabf9;
background-color: #ecabf9;
/* Tailwind (arbitrary) */
class="text-[#ecabf9] bg-[#ecabf9]"
/* SCSS */
$brand: #ecabf9;
/* SwiftUI */
Color(red: 0.925, green: 0.671, blue: 0.976)
/* Android */
Color.parseColor("#ecabf9")

Accessibility — WCAG contrast

Aa
#ecabf9 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#ecabf9 on black: 11.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green67.1%
Blue97.6%

CMYK percentages

Cyan5.2%
Magenta31.3%
Yellow0.0%
Key (black)2.4%

Color previews

#ecabf9 text on a black background

contrast 11.76:1

Card sample

#ecabf9 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ecabf9;
Background color
Panel with #ecabf9 background
background-color: #ecabf9;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ecabf9;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(236, 171, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 171, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecabf9;
background: linear-gradient(135deg, #ecabf9, #F9ABD2);

Monochromatic scale

Palettes built from #ecabf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecabf9 in the Color Lab