Skip to content

#ecccff

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

RGB
236, 204, 255
HSL
278°, 100%, 90%
CMYK
8, 20, 0, 0
Luminance
0.6824

Every format

HEX#ecccff
RGBrgb(236, 204, 255)
HSLhsl(278, 100%, 90%)
CMYKcmyk(8%, 20%, 0%, 0%)
LABlab(86.1 20.3 -20.8)
LCHlch(86.1 29.0 314.3)
OKLCHoklch(0.888 0.077 312.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.0%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta20.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ecccff text on a black background

contrast 14.65:1

Card sample

#ecccff text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccff in the Color Lab