Skip to content
Vectorlight.net

#ac48eb

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

HEX
#ac48eb
RGB
172, 72, 235
HSL
276.81°, 80.3%, 60.2%
OKLCH
0.61 0.24 309.06
Names
—
Lists

Codes

FormatValue
HEX#ac48eb
RGBrgb(172 72 235)
HSLhsl(276.81 80.3% 60.2%)
OKLCHoklch(0.61 0.24 309.06)
CMYKcmyk(26.81% 69.36% 0% 7.84%)
Android#ffac48eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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