Skip to content
Vectorlight.net

#ac35cb

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

HEX
#ac35cb
RGB
172, 53, 203
HSL
287.6°, 59.06%, 50.2%
OKLCH
0.57 0.23 318.32
Names
—
Lists

Codes

FormatValue
HEX#ac35cb
RGBrgb(172 53 203)
HSLhsl(287.6 59.06% 50.2%)
OKLCHoklch(0.57 0.23 318.32)
CMYKcmyk(15.27% 73.89% 0% 20.39%)
Android#ffac35cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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