Skip to content
Vectorlight.net

#ac8beb

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

HEX
#ac8beb
RGB
172, 139, 235
HSL
260.63°, 70.59%, 73.33%
OKLCH
0.71 0.14 298.6
Names
—
Lists

Codes

FormatValue
HEX#ac8beb
RGBrgb(172 139 235)
HSLhsl(260.63 70.59% 73.33%)
OKLCHoklch(0.71 0.14 298.6)
CMYKcmyk(26.81% 40.85% 0% 7.84%)
Android#ffac8beb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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