Skip to content

#ecadfb

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

RGB
236, 173, 251
HSL
289°, 91%, 83%
CMYK
6, 31, 0, 2
Luminance
0.5469

Every format

HEX#ecadfb
RGBrgb(236, 173, 251)
HSLhsl(289, 91%, 83%)
CMYKcmyk(6%, 31%, 0%, 2%)
LABlab(78.9 36.0 -29.7)
LCHlch(78.9 46.7 320.4)
OKLCHoklch(0.832 0.125 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecadfb on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#ecadfb on black: 11.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green67.8%
Blue98.4%

CMYK percentages

Cyan6.0%
Magenta31.1%
Yellow0.0%
Key (black)1.6%

Color previews

#ecadfb text on a black background

contrast 11.94:1

Card sample

#ecadfb text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecadfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecadfb in the Color Lab