Skip to content

#ecc9ec

a pale, vivid magenta / pink · warm · closest name: lavender

RGB
236, 201, 236
HSL
300°, 48%, 86%
CMYK
0, 15, 0, 8
Luminance
0.6566

Every format

HEX#ecc9ec
RGBrgb(236, 201, 236)
HSLhsl(300, 48%, 86%)
CMYKcmyk(0%, 15%, 0%, 8%)
LABlab(84.8 18.3 -12.7)
LCHlch(84.8 22.2 325.3)
OKLCHoklch(0.876 0.061 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc9ec on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ecc9ec on black: 14.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green78.8%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow0.0%
Key (black)7.5%

Color previews

#ecc9ec text on a black background

contrast 14.13:1

Card sample

#ecc9ec text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc9ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc9ec in the Color Lab