Skip to content
Vectorlight.net

#ec5efd

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

HEX
#ec5efd
RGB
236, 94, 253
HSL
293.58°, 97.55%, 68.04%
OKLCH
0.72 0.25 323.28
Names
—
Lists

Codes

FormatValue
HEX#ec5efd
RGBrgb(236 94 253)
HSLhsl(293.58 97.55% 68.04%)
OKLCHoklch(0.72 0.25 323.28)
CMYKcmyk(6.72% 62.85% 0% 0.78%)
Android#ffec5efd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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