Skip to content
Vectorlight.net

#ecdafc

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ecdafc
RGB
236, 218, 252
HSL
271.76°, 85%, 92.16%
OKLCH
0.91 0.05 309.09
Names
—
Lists

Codes

FormatValue
HEX#ecdafc
RGBrgb(236 218 252)
HSLhsl(271.76 85% 92.16%)
OKLCHoklch(0.91 0.05 309.09)
CMYKcmyk(6.35% 13.49% 0% 1.18%)
Android#ffecdafc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.31:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.00:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ecdafc"
Gradient stop
<stop stop-color="#ecdafc"/>
CSS variable + fill
:root { --c: #ecdafc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ecdafc;
background-color: #ecdafc;
bg-[#ecdafc]