Skip to content
Vectorlight.net

#ac45fd

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

HEX
#ac45fd
RGB
172, 69, 253
HSL
273.59°, 97.87%, 63.14%
OKLCH
0.62 0.26 305.46
Names
—
Lists

Codes

FormatValue
HEX#ac45fd
RGBrgb(172 69 253)
HSLhsl(273.59 97.87% 63.14%)
OKLCHoklch(0.62 0.26 305.46)
CMYKcmyk(32.02% 72.73% 0% 0.78%)
Android#ffac45fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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