Skip to content

#e4cfda

a pale, soft magenta / pink · warm · closest name: lavender

RGB
228, 207, 218
HSL
329°, 28%, 85%
CMYK
0, 9, 4, 11
Luminance
0.6618

Every format

HEX#e4cfda
RGBrgb(228, 207, 218)
HSLhsl(329, 28%, 85%)
CMYKcmyk(0%, 9%, 4%, 11%)
LABlab(85.1 9.2 -2.8)
LCHlch(85.1 9.6 343.1)
OKLCHoklch(0.875 0.028 344.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4cfda on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#e4cfda on black: 14.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green81.2%
Blue85.5%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow4.4%
Key (black)10.6%

Color previews

#e4cfda text on a black background

contrast 14.24:1

Card sample

#e4cfda text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(228, 207, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(228, 207, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e4cfda;
background: linear-gradient(135deg, #e4cfda, #E4D2CF);

Monochromatic scale

Palettes built from #e4cfda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4cfda in the Color Lab