Skip to content

#ece2f4

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

RGB
236, 226, 244
HSL
273°, 45%, 92%
CMYK
3, 7, 0, 4
Luminance
0.7876

Every format

HEX#ece2f4
RGBrgb(236, 226, 244)
HSLhsl(273, 45%, 92%)
CMYKcmyk(3%, 7%, 0%, 4%)
LABlab(91.1 6.6 -7.5)
LCHlch(91.1 10.0 311.3)
OKLCHoklch(0.926 0.026 310.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece2f4 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ece2f4 on black: 16.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green88.6%
Blue95.7%

CMYK percentages

Cyan3.3%
Magenta7.4%
Yellow0.0%
Key (black)4.3%

Color previews

#ece2f4 text on a black background

contrast 16.75:1

Card sample

#ece2f4 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece2f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece2f4 in the Color Lab