Skip to content
Vectorlight.net

#ac78cf

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

HEX
#ac78cf
RGB
172, 120, 207
HSL
275.86°, 47.54%, 64.12%
OKLCH
0.66 0.14 310.62
Names
—
Lists

Codes

FormatValue
HEX#ac78cf
RGBrgb(172 120 207)
HSLhsl(275.86 47.54% 64.12%)
OKLCHoklch(0.66 0.14 310.62)
CMYKcmyk(16.91% 42.03% 0% 18.82%)
Android#ffac78cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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