Skip to content
Vectorlight.net

#ecacfb

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

HEX
#ecacfb
RGB
236, 172, 251
HSL
288.61°, 90.8%, 82.94%
OKLCH
0.83 0.13 319.85
Names
—
Lists

Codes

FormatValue
HEX#ecacfb
RGBrgb(236 172 251)
HSLhsl(288.61 90.8% 82.94%)
OKLCHoklch(0.83 0.13 319.85)
CMYKcmyk(5.98% 31.47% 0% 1.57%)
Android#ffecacfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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