Skip to content
Vectorlight.net

#ac3198

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

HEX
#ac3198
RGB
172, 49, 152
HSL
309.76°, 55.66%, 43.33%
OKLCH
0.54 0.19 335.29
Names
—
Lists

Codes

FormatValue
HEX#ac3198
RGBrgb(172 49 152)
HSLhsl(309.76 55.66% 43.33%)
OKLCHoklch(0.54 0.19 335.29)
CMYKcmyk(0% 71.51% 11.63% 32.55%)
Android#ffac3198

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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