Skip to content
Vectorlight.net

#ec6aff

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

HEX
#ec6aff
RGB
236, 106, 255
HSL
292.35°, 100%, 70.78%
OKLCH
0.74 0.24 322.39
Names
—
Lists

Codes

FormatValue
HEX#ec6aff
RGBrgb(236 106 255)
HSLhsl(292.35 100% 70.78%)
OKLCHoklch(0.74 0.24 322.39)
CMYKcmyk(7.45% 58.43% 0% 0%)
Android#ffec6aff

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.07: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="#ec6aff"
Gradient stop
<stop stop-color="#ec6aff"/>
CSS variable + fill
:root { --c: #ec6aff; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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