Skip to content
Vectorlight.net

#ac70ef

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

HEX
#ac70ef
RGB
172, 112, 239
HSL
268.35°, 79.87%, 68.82%
OKLCH
0.66 0.19 303.51
Names
—
Lists

Codes

FormatValue
HEX#ac70ef
RGBrgb(172 112 239)
HSLhsl(268.35 79.87% 68.82%)
OKLCHoklch(0.66 0.19 303.51)
CMYKcmyk(28.03% 53.14% 0% 6.27%)
Android#ffac70ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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