Skip to content

#ecc4fd

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

RGB
236, 196, 253
HSL
282°, 93%, 88%
CMYK
7, 23, 0, 1
Luminance
0.6440

Every format

HEX#ecc4fd
RGBrgb(236, 196, 253)
HSLhsl(282, 93%, 88%)
CMYKcmyk(7%, 23%, 0%, 1%)
LABlab(84.2 24.1 -22.7)
LCHlch(84.2 33.1 316.8)
OKLCHoklch(0.873 0.088 315.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc4fd on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#ecc4fd on black: 13.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green76.9%
Blue99.2%

CMYK percentages

Cyan6.7%
Magenta22.5%
Yellow0.0%
Key (black)0.8%

Color previews

#ecc4fd text on a black background

contrast 13.88:1

Card sample

#ecc4fd text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc4fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc4fd in the Color Lab