Skip to content

#ece2fd

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

RGB
236, 226, 253
HSL
262°, 87%, 94%
CMYK
7, 11, 0, 1
Luminance
0.7932

Every format

HEX#ece2fd
RGBrgb(236, 226, 253)
HSLhsl(262, 87%, 94%)
CMYKcmyk(7%, 11%, 0%, 1%)
LABlab(91.4 8.3 -11.8)
LCHlch(91.4 14.5 305.0)
OKLCHoklch(0.929 0.038 302.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece2fd on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ece2fd on black: 16.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green88.6%
Blue99.2%

CMYK percentages

Cyan6.7%
Magenta10.7%
Yellow0.0%
Key (black)0.8%

Color previews

#ece2fd text on a black background

contrast 16.86:1

Card sample

#ece2fd text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece2fd in the Color Lab