Skip to content

#ecebfb

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

RGB
236, 235, 251
HSL
244°, 67%, 95%
CMYK
6, 6, 0, 2
Luminance
0.8421

Every format

HEX#ecebfb
RGBrgb(236, 235, 251)
HSLhsl(244, 67%, 95%)
CMYKcmyk(6%, 6%, 0%, 2%)
LABlab(93.5 3.3 -7.6)
LCHlch(93.5 8.3 293.2)
OKLCHoklch(0.946 0.021 288.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecebfb on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#ecebfb on black: 17.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.2%
Blue98.4%

CMYK percentages

Cyan6.0%
Magenta6.4%
Yellow0.0%
Key (black)1.6%

Color previews

#ecebfb text on a black background

contrast 17.84:1

Card sample

#ecebfb text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecebfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecebfb in the Color Lab