Skip to content
Vectorlight.net

#ac70eb

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

HEX
#ac70eb
RGB
172, 112, 235
HSL
269.27°, 75.46%, 68.04%
OKLCH
0.66 0.18 304.4
Names
—
Lists

Codes

FormatValue
HEX#ac70eb
RGBrgb(172 112 235)
HSLhsl(269.27 75.46% 68.04%)
OKLCHoklch(0.66 0.18 304.4)
CMYKcmyk(26.81% 52.34% 0% 7.84%)
Android#ffac70eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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