Skip to content

#e4cceb

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

RGB
228, 204, 235
HSL
287°, 44%, 86%
CMYK
3, 13, 0, 8
Luminance
0.6568

Every format

HEX#e4cceb
RGBrgb(228, 204, 235)
HSLhsl(287, 44%, 86%)
CMYKcmyk(3%, 13%, 0%, 8%)
LABlab(84.8 13.8 -12.2)
LCHlch(84.8 18.4 318.6)
OKLCHoklch(0.875 0.049 318.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4cceb on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#e4cceb on black: 14.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green80.0%
Blue92.2%

CMYK percentages

Cyan3.0%
Magenta13.2%
Yellow0.0%
Key (black)7.8%

Color previews

#e4cceb text on a black background

contrast 14.14:1

Card sample

#e4cceb text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4cceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4cceb in the Color Lab