Skip to content
Vectorlight.net

#ec9cef

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

HEX
#ec9cef
RGB
236, 156, 239
HSL
297.83°, 72.17%, 77.45%
OKLCH
0.8 0.14 325.56
Names
—
Lists

Codes

FormatValue
HEX#ec9cef
RGBrgb(236 156 239)
HSLhsl(297.83 72.17% 77.45%)
OKLCHoklch(0.8 0.14 325.56)
CMYKcmyk(1.26% 34.73% 0% 6.27%)
Android#ffec9cef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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