Skip to content

#eceaf2

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

RGB
236, 234, 242
HSL
255°, 24%, 93%
CMYK
3, 3, 0, 5
Luminance
0.8309

Every format

HEX#eceaf2
RGBrgb(236, 234, 242)
HSLhsl(255, 24%, 93%)
CMYKcmyk(3%, 3%, 0%, 5%)
LABlab(93.0 2.1 -3.6)
LCHlch(93.0 4.2 300.0)
OKLCHoklch(0.941 0.011 297.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eceaf2 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#eceaf2 on black: 17.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green91.8%
Blue94.9%

CMYK percentages

Cyan2.5%
Magenta3.3%
Yellow0.0%
Key (black)5.1%

Color previews

#eceaf2 text on a black background

contrast 17.62:1

Card sample

#eceaf2 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eceaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eceaf2 in the Color Lab