Skip to content

#ecccfe

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

RGB
236, 204, 254
HSL
278°, 96%, 90%
CMYK
7, 20, 0, 0
Luminance
0.6817

Every format

HEX#ecccfe
RGBrgb(236, 204, 254)
HSLhsl(278, 96%, 90%)
CMYKcmyk(7%, 20%, 0%, 0%)
LABlab(86.1 20.1 -20.3)
LCHlch(86.1 28.6 314.6)
OKLCHoklch(0.888 0.075 313.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecccfe on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#ecccfe on black: 14.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.0%
Blue99.6%

CMYK percentages

Cyan7.1%
Magenta19.7%
Yellow0.0%
Key (black)0.4%

Color previews

#ecccfe text on a black background

contrast 14.63:1

Card sample

#ecccfe text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccfe in the Color Lab