Skip to content

#ecebfc

a pale, vivid blue · warm · “lavender”

RGB
236, 235, 252
HSL
244°, 74%, 96%
CMYK
6, 7, 0, 1
Luminance
0.8428

Every format

HEX#ecebfc
RGBrgb(236, 235, 252)
HSLhsl(244, 74%, 96%)
CMYKcmyk(6%, 7%, 0%, 1%)
LABlab(93.6 3.4 -8.1)
LCHlch(93.6 8.8 293.1)
OKLCHoklch(0.946 0.023 288.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green92.2%
Blue98.8%

CMYK percentages

Cyan6.3%
Magenta6.7%
Yellow0.0%
Key (black)1.2%

Color previews

#ecebfc text on a black background

contrast 17.86:1

Card sample

#ecebfc text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecebfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecebfc in the Color Lab