Skip to content

#eccdf9

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

RGB
236, 205, 249
HSL
282°, 79%, 89%
CMYK
5, 18, 0, 2
Luminance
0.6834

Every format

HEX#eccdf9
RGBrgb(236, 205, 249)
HSLhsl(282, 79%, 89%)
CMYKcmyk(5%, 18%, 0%, 2%)
LABlab(86.2 18.6 -17.5)
LCHlch(86.2 25.5 316.6)
OKLCHoklch(0.888 0.068 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.4%
Blue97.6%

CMYK percentages

Cyan5.2%
Magenta17.7%
Yellow0.0%
Key (black)2.4%

Color previews

#eccdf9 text on a black background

contrast 14.67:1

Card sample

#eccdf9 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccdf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccdf9 in the Color Lab