Skip to content
Vectorlight.net

#ac70fa

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

HEX
#ac70fa
RGB
172, 112, 250
HSL
266.09°, 93.24%, 70.98%
OKLCH
0.67 0.2 301.25
Names
—
Lists

Codes

FormatValue
HEX#ac70fa
RGBrgb(172 112 250)
HSLhsl(266.09 93.24% 70.98%)
OKLCHoklch(0.67 0.2 301.25)
CMYKcmyk(31.2% 55.2% 0% 1.96%)
Android#ffac70fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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