Skip to content
Vectorlight.net

#ac51ec

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

HEX
#ac51ec
RGB
172, 81, 236
HSL
275.23°, 80.31%, 62.16%
OKLCH
0.62 0.23 308.06
Names
—
Lists

Codes

FormatValue
HEX#ac51ec
RGBrgb(172 81 236)
HSLhsl(275.23 80.31% 62.16%)
OKLCHoklch(0.62 0.23 308.06)
CMYKcmyk(27.12% 65.68% 0% 7.45%)
Android#ffac51ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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