Skip to content
Vectorlight.net

#ec6afd

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

HEX
#ec6afd
RGB
236, 106, 253
HSL
293.06°, 97.35%, 70.39%
OKLCH
0.74 0.23 322.9
Names
—
Lists

Codes

FormatValue
HEX#ec6afd
RGBrgb(236 106 253)
HSLhsl(293.06 97.35% 70.39%)
OKLCHoklch(0.74 0.23 322.9)
CMYKcmyk(6.72% 58.1% 0% 0.78%)
Android#ffec6afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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