Skip to content

#ecc4fe

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

RGB
236, 196, 254
HSL
281°, 97%, 88%
CMYK
7, 23, 0, 0
Luminance
0.6447

Every format

HEX#ecc4fe
RGBrgb(236, 196, 254)
HSLhsl(281, 97%, 88%)
CMYKcmyk(7%, 23%, 0%, 0%)
LABlab(84.2 24.3 -23.2)
LCHlch(84.2 33.6 316.4)
OKLCHoklch(0.873 0.089 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green76.9%
Blue99.6%

CMYK percentages

Cyan7.1%
Magenta22.8%
Yellow0.0%
Key (black)0.4%

Color previews

#ecc4fe text on a black background

contrast 13.89:1

Card sample

#ecc4fe text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc4fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc4fe in the Color Lab