Skip to content

#eecdf8

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

RGB
238, 205, 248
HSL
286°, 75%, 89%
CMYK
4, 17, 0, 3
Luminance
0.6862

Every format

HEX#eecdf8
RGBrgb(238, 205, 248)
HSLhsl(286, 75%, 89%)
CMYKcmyk(4%, 17%, 0%, 3%)
LABlab(86.3 19.0 -16.8)
LCHlch(86.3 25.4 318.6)
OKLCHoklch(0.889 0.068 318.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.3%
Green80.4%
Blue97.3%

CMYK percentages

Cyan4.0%
Magenta17.3%
Yellow0.0%
Key (black)2.7%

Color previews

#eecdf8 text on a black background

contrast 14.72:1

Card sample

#eecdf8 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eecdf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eecdf8 in the Color Lab