Skip to content

#ecc9fd

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

RGB
236, 201, 253
HSL
280°, 93%, 89%
CMYK
7, 21, 0, 1
Luminance
0.6670

Every format

HEX#ecc9fd
RGBrgb(236, 201, 253)
HSLhsl(280, 93%, 89%)
CMYKcmyk(7%, 21%, 0%, 1%)
LABlab(85.3 21.5 -20.9)
LCHlch(85.3 30.0 315.8)
OKLCHoklch(0.882 0.080 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc9fd on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#ecc9fd on black: 14.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green78.8%
Blue99.2%

CMYK percentages

Cyan6.7%
Magenta20.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ecc9fd text on a black background

contrast 14.34:1

Card sample

#ecc9fd text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc9fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc9fd in the Color Lab