Skip to content

#ece4fd

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

RGB
236, 228, 253
HSL
259°, 86%, 94%
CMYK
7, 10, 0, 1
Luminance
0.8041

Every format

HEX#ece4fd
RGBrgb(236, 228, 253)
HSLhsl(259, 86%, 94%)
CMYKcmyk(7%, 10%, 0%, 1%)
LABlab(91.9 7.3 -11.1)
LCHlch(91.9 13.3 303.1)
OKLCHoklch(0.933 0.035 300.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece4fd on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ece4fd on black: 17.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green89.4%
Blue99.2%

CMYK percentages

Cyan6.7%
Magenta9.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ece4fd text on a black background

contrast 17.08:1

Card sample

#ece4fd text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece4fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece4fd in the Color Lab