Skip to content
Vectorlight.net

#eca2dc

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

HEX
#eca2dc
RGB
236, 162, 220
HSL
312.97°, 66.07%, 78.04%
OKLCH
0.8 0.11 334.67
Names
—
Lists

Codes

FormatValue
HEX#eca2dc
RGBrgb(236 162 220)
HSLhsl(312.97 66.07% 78.04%)
OKLCHoklch(0.8 0.11 334.67)
CMYKcmyk(0% 31.36% 6.78% 7.45%)
Android#ffeca2dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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