Skip to content
Vectorlight.net

#ac62ec

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

HEX
#ac62ec
RGB
172, 98, 236
HSL
272.17°, 78.41%, 65.49%
OKLCH
0.64 0.2 306.19
Names
—
Lists

Codes

FormatValue
HEX#ac62ec
RGBrgb(172 98 236)
HSLhsl(272.17 78.41% 65.49%)
OKLCHoklch(0.64 0.2 306.19)
CMYKcmyk(27.12% 58.47% 0% 7.45%)
Android#ffac62ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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