Skip to content

#ece2f2

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

RGB
236, 226, 242
HSL
278°, 38%, 92%
CMYK
3, 7, 0, 5
Luminance
0.7864

Every format

HEX#ece2f2
RGBrgb(236, 226, 242)
HSLhsl(278, 38%, 92%)
CMYKcmyk(3%, 7%, 0%, 5%)
LABlab(91.1 6.2 -6.5)
LCHlch(91.1 9.1 313.6)
OKLCHoklch(0.925 0.024 313.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece2f2 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ece2f2 on black: 16.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green88.6%
Blue94.9%

CMYK percentages

Cyan2.5%
Magenta6.6%
Yellow0.0%
Key (black)5.1%

Color previews

#ece2f2 text on a black background

contrast 16.73:1

Card sample

#ece2f2 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece2f2 in the Color Lab