Skip to content

#e4ccfd

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

RGB
228, 204, 253
HSL
269°, 93%, 90%
CMYK
10, 19, 0, 1
Luminance
0.6677

Every format

HEX#e4ccfd
RGBrgb(228, 204, 253)
HSLhsl(269, 93%, 90%)
CMYKcmyk(10%, 19%, 0%, 1%)
LABlab(85.4 17.3 -20.9)
LCHlch(85.4 27.1 309.6)
OKLCHoklch(0.881 0.071 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4ccfd on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#e4ccfd on black: 14.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green80.0%
Blue99.2%

CMYK percentages

Cyan9.9%
Magenta19.4%
Yellow0.0%
Key (black)0.8%

Color previews

#e4ccfd text on a black background

contrast 14.35:1

Card sample

#e4ccfd text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4ccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4ccfd in the Color Lab