Skip to content
Vectorlight.net

#ac68e8

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

HEX
#ac68e8
RGB
172, 104, 232
HSL
271.88°, 73.56%, 65.88%
OKLCH
0.65 0.19 306.31
Names
—
Lists

Codes

FormatValue
HEX#ac68e8
RGBrgb(172 104 232)
HSLhsl(271.88 73.56% 65.88%)
OKLCHoklch(0.65 0.19 306.31)
CMYKcmyk(25.86% 55.17% 0% 9.02%)
Android#ffac68e8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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