Skip to content
Vectorlight.net

#ecd7fc

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

HEX
#ecd7fc
RGB
236, 215, 252
HSL
274.05°, 86.05%, 91.57%
OKLCH
0.91 0.05 310.6
Names
—
Lists

Codes

FormatValue
HEX#ecd7fc
RGBrgb(236 215 252)
HSLhsl(274.05 86.05% 91.57%)
OKLCHoklch(0.91 0.05 310.6)
CMYKcmyk(6.35% 14.68% 0% 1.18%)
Android#ffecd7fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.69: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="#ecd7fc"
Gradient stop
<stop stop-color="#ecd7fc"/>
CSS variable + fill
:root { --c: #ecd7fc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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