Skip to content

#ecc6fd

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

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

Every format

HEX#ecc6fd
RGBrgb(236, 198, 253)
HSLhsl(282, 93%, 88%)
CMYKcmyk(7%, 22%, 0%, 1%)
LABlab(84.7 23.1 -22.0)
LCHlch(84.7 31.9 316.4)
OKLCHoklch(0.877 0.085 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green77.6%
Blue99.2%

CMYK percentages

Cyan6.7%
Magenta21.7%
Yellow0.0%
Key (black)0.8%

Color previews

#ecc6fd text on a black background

contrast 14.06:1

Card sample

#ecc6fd text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc6fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc6fd in the Color Lab