Skip to content

#ecccfd

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

RGB
236, 204, 253
HSL
279°, 93%, 90%
CMYK
7, 19, 0, 1
Luminance
0.6811

Every format

HEX#ecccfd
RGBrgb(236, 204, 253)
HSLhsl(279, 93%, 90%)
CMYKcmyk(7%, 19%, 0%, 1%)
LABlab(86.1 19.9 -19.8)
LCHlch(86.1 28.1 315.1)
OKLCHoklch(0.887 0.074 313.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecccfd on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#ecccfd on black: 14.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.0%
Blue99.2%

CMYK percentages

Cyan6.7%
Magenta19.4%
Yellow0.0%
Key (black)0.8%

Color previews

#ecccfd text on a black background

contrast 14.62:1

Card sample

#ecccfd text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccfd in the Color Lab