Skip to content
Vectorlight.net

#ec9fef

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

HEX
#ec9fef
RGB
236, 159, 239
HSL
297.75°, 71.43%, 78.04%
OKLCH
0.8 0.14 325.47
Names
—
Lists

Codes

FormatValue
HEX#ec9fef
RGBrgb(236 159 239)
HSLhsl(297.75 71.43% 78.04%)
OKLCHoklch(0.8 0.14 325.47)
CMYKcmyk(1.26% 33.47% 0% 6.27%)
Android#ffec9fef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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