Skip to content

#ece3fc

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

RGB
236, 227, 252
HSL
262°, 81%, 94%
CMYK
6, 10, 0, 1
Luminance
0.7980

Every format

HEX#ece3fc
RGBrgb(236, 227, 252)
HSLhsl(262, 81%, 94%)
CMYKcmyk(6%, 10%, 0%, 1%)
LABlab(91.6 7.6 -11.0)
LCHlch(91.6 13.4 304.6)
OKLCHoklch(0.930 0.035 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece3fc on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ece3fc on black: 16.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green89.0%
Blue98.8%

CMYK percentages

Cyan6.3%
Magenta9.9%
Yellow0.0%
Key (black)1.2%

Color previews

#ece3fc text on a black background

contrast 16.96:1

Card sample

#ece3fc text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece3fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece3fc in the Color Lab