Skip to content

#ecc9ff

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

RGB
236, 201, 255
HSL
279°, 100%, 89%
CMYK
8, 21, 0, 0
Luminance
0.6683

Every format

HEX#ecc9ff
RGBrgb(236, 201, 255)
HSLhsl(279, 100%, 89%)
CMYKcmyk(8%, 21%, 0%, 0%)
LABlab(85.4 21.9 -21.9)
LCHlch(85.4 30.9 315.0)
OKLCHoklch(0.883 0.082 313.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc9ff on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#ecc9ff on black: 14.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green78.8%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta21.2%
Yellow0.0%
Key (black)0.0%

Color previews

#ecc9ff text on a black background

contrast 14.37:1

Card sample

#ecc9ff text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc9ff in the Color Lab