Skip to content
Vectorlight.net

#ac51ed

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

HEX
#ac51ed
RGB
172, 81, 237
HSL
275°, 81.25%, 62.35%
OKLCH
0.62 0.23 307.83
Names
—
Lists

Codes

FormatValue
HEX#ac51ed
RGBrgb(172 81 237)
HSLhsl(275 81.25% 62.35%)
OKLCHoklch(0.62 0.23 307.83)
CMYKcmyk(27.43% 65.82% 0% 7.06%)
Android#ffac51ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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