Skip to content
Vectorlight.net

#ecc0fc

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

HEX
#ecc0fc
RGB
236, 192, 252
HSL
284°, 90.91%, 87.06%
OKLCH
0.87 0.09 316.94
Names
—
Lists

Codes

FormatValue
HEX#ecc0fc
RGBrgb(236 192 252)
HSLhsl(284 90.91% 87.06%)
OKLCHoklch(0.87 0.09 316.94)
CMYKcmyk(6.35% 23.81% 0% 1.18%)
Android#ffecc0fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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