Skip to content

#ece6fc

a pale, electric violet · warm · “lavender”

RGB
236, 230, 252
HSL
256°, 79%, 95%
CMYK
6, 9, 0, 1
Luminance
0.8145

Every format

HEX#ece6fc
RGBrgb(236, 230, 252)
HSLhsl(256, 79%, 95%)
CMYKcmyk(6%, 9%, 0%, 1%)
LABlab(92.3 6.0 -9.9)
LCHlch(92.3 11.6 301.3)
OKLCHoklch(0.936 0.030 298.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece6fc on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ece6fc on black: 17.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green90.2%
Blue98.8%

CMYK percentages

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

Color previews

#ece6fc text on a black background

contrast 17.29:1

Card sample

#ece6fc text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece6fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece6fc in the Color Lab