Skip to content
Vectorlight.net

#ac78ed

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

HEX
#ac78ed
RGB
172, 120, 237
HSL
266.67°, 76.47%, 70%
OKLCH
0.67 0.17 302.55
Names
—
Lists

Codes

FormatValue
HEX#ac78ed
RGBrgb(172 120 237)
HSLhsl(266.67 76.47% 70%)
OKLCHoklch(0.67 0.17 302.55)
CMYKcmyk(27.43% 49.37% 0% 7.06%)
Android#ffac78ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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