Skip to content
Vectorlight.net

#ec5efc

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

HEX
#ec5efc
RGB
236, 94, 252
HSL
293.92°, 96.34%, 67.84%
OKLCH
0.72 0.25 323.53
Names
—
Lists

Codes

FormatValue
HEX#ec5efc
RGBrgb(236 94 252)
HSLhsl(293.92 96.34% 67.84%)
OKLCHoklch(0.72 0.25 323.53)
CMYKcmyk(6.35% 62.7% 0% 1.18%)
Android#ffec5efc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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