Skip to content
Vectorlight.net

#ac3aed

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

HEX
#ac3aed
RGB
172, 58, 237
HSL
278.21°, 83.26%, 57.84%
OKLCH
0.6 0.25 309.59
Names
—
Lists

Codes

FormatValue
HEX#ac3aed
RGBrgb(172 58 237)
HSLhsl(278.21 83.26% 57.84%)
OKLCHoklch(0.6 0.25 309.59)
CMYKcmyk(27.43% 75.53% 0% 7.06%)
Android#ffac3aed

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.58:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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