Skip to content

#ecc5fd

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

RGB
236, 197, 253
HSL
282°, 93%, 88%
CMYK
7, 22, 0, 1
Luminance
0.6486

Every format

HEX#ecc5fd
RGBrgb(236, 197, 253)
HSLhsl(282, 93%, 88%)
CMYKcmyk(7%, 22%, 0%, 1%)
LABlab(84.4 23.6 -22.3)
LCHlch(84.4 32.5 316.6)
OKLCHoklch(0.875 0.086 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc5fd on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#ecc5fd on black: 13.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green77.3%
Blue99.2%

CMYK percentages

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

Color previews

#ecc5fd text on a black background

contrast 13.97:1

Card sample

#ecc5fd text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc5fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc5fd in the Color Lab