Skip to content

#ecabfe

a light, electric violet · warm · closest name: plum

RGB
236, 171, 254
HSL
287°, 98%, 83%
CMYK
7, 33, 0, 0
Luminance
0.5411

Every format

HEX#ecabfe
RGBrgb(236, 171, 254)
HSLhsl(287, 98%, 83%)
CMYKcmyk(7%, 33%, 0%, 0%)
LABlab(78.5 37.6 -31.9)
LCHlch(78.5 49.3 319.8)
OKLCHoklch(0.830 0.132 318.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecabfe on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#ecabfe on black: 11.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green67.1%
Blue99.6%

CMYK percentages

Cyan7.1%
Magenta32.7%
Yellow0.0%
Key (black)0.4%

Color previews

#ecabfe text on a black background

contrast 11.82:1

Card sample

#ecabfe text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecabfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecabfe in the Color Lab