Skip to content

#ecc3fd

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

RGB
236, 195, 253
HSL
282°, 94%, 88%
CMYK
7, 23, 0, 1
Luminance
0.6395

Every format

HEX#ecc3fd
RGBrgb(236, 195, 253)
HSLhsl(282, 94%, 88%)
CMYKcmyk(7%, 23%, 0%, 1%)
LABlab(83.9 24.6 -23.0)
LCHlch(83.9 33.7 316.9)
OKLCHoklch(0.871 0.090 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc3fd on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#ecc3fd on black: 13.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#ecc3fd text on a black background

contrast 13.79:1

Card sample

#ecc3fd text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc3fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc3fd in the Color Lab