Skip to content
Vectorlight.net

#ac57fe

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

HEX
#ac57fe
RGB
172, 87, 254
HSL
270.54°, 98.82%, 66.86%
OKLCH
0.64 0.24 303.67
Names
—
Lists

Codes

FormatValue
HEX#ac57fe
RGBrgb(172 87 254)
HSLhsl(270.54 98.82% 66.86%)
OKLCHoklch(0.64 0.24 303.67)
CMYKcmyk(32.28% 65.75% 0% 0.39%)
Android#ffac57fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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