Skip to content

#eccdf5

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

RGB
236, 205, 245
HSL
287°, 67%, 88%
CMYK
4, 16, 0, 4
Luminance
0.6809

Every format

HEX#eccdf5
RGBrgb(236, 205, 245)
HSLhsl(287, 67%, 88%)
CMYKcmyk(4%, 16%, 0%, 4%)
LABlab(86.0 17.8 -15.6)
LCHlch(86.0 23.7 318.8)
OKLCHoklch(0.887 0.063 318.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.4%
Blue96.1%

CMYK percentages

Cyan3.7%
Magenta16.3%
Yellow0.0%
Key (black)3.9%

Color previews

#eccdf5 text on a black background

contrast 14.62:1

Card sample

#eccdf5 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccdf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccdf5 in the Color Lab