Skip to content
Vectorlight.net

#ac4aeb

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

HEX
#ac4aeb
RGB
172, 74, 235
HSL
276.52°, 80.1%, 60.59%
OKLCH
0.61 0.23 308.9
Names
—
Lists

Codes

FormatValue
HEX#ac4aeb
RGBrgb(172 74 235)
HSLhsl(276.52 80.1% 60.59%)
OKLCHoklch(0.61 0.23 308.9)
CMYKcmyk(26.81% 68.51% 0% 7.84%)
Android#ffac4aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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