Skip to content

#ececfc

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

RGB
236, 236, 252
HSL
240°, 73%, 96%
CMYK
6, 6, 0, 1
Luminance
0.8485

Every format

HEX#ececfc
RGBrgb(236, 236, 252)
HSLhsl(240, 73%, 96%)
CMYKcmyk(6%, 6%, 0%, 1%)
LABlab(93.8 2.9 -7.7)
LCHlch(93.8 8.2 290.8)
OKLCHoklch(0.948 0.021 286.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ececfc on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ececfc on black: 17.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#ececfc text on a black background

contrast 17.97:1

Card sample

#ececfc text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececfc in the Color Lab