Skip to content

#ecdafc

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

RGB
236, 218, 252
HSL
272°, 85%, 92%
CMYK
6, 14, 0, 1
Luminance
0.7500

Every format

HEX#ecdafc
RGBrgb(236, 218, 252)
HSLhsl(272, 85%, 92%)
CMYKcmyk(6%, 14%, 0%, 1%)
LABlab(89.4 12.3 -14.3)
LCHlch(89.4 18.9 310.7)
OKLCHoklch(0.913 0.050 309.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecdafc on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#ecdafc on black: 16.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green85.5%
Blue98.8%

CMYK percentages

Cyan6.3%
Magenta13.5%
Yellow0.0%
Key (black)1.2%

Color previews

#ecdafc text on a black background

contrast 16.00:1

Card sample

#ecdafc text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdafc in the Color Lab