Skip to content
Vectorlight.net

#ec9def

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

HEX
#ec9def
RGB
236, 157, 239
HSL
297.8°, 71.93%, 77.65%
OKLCH
0.8 0.14 325.53
Names
—
Lists

Codes

FormatValue
HEX#ec9def
RGBrgb(236 157 239)
HSLhsl(297.8 71.93% 77.65%)
OKLCHoklch(0.8 0.14 325.53)
CMYKcmyk(1.26% 34.31% 0% 6.27%)
Android#ffec9def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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