Skip to content
Vectorlight.net

#ecccf2

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

HEX
#ecccf2
RGB
236, 204, 242
HSL
290.53°, 59.38%, 87.45%
OKLCH
0.88 0.06 320.94
Names
—
Lists

Codes

FormatValue
HEX#ecccf2
RGBrgb(236 204 242)
HSLhsl(290.53 59.38% 87.45%)
OKLCHoklch(0.88 0.06 320.94)
CMYKcmyk(2.48% 15.7% 0% 5.1%)
Android#ffecccf2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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