Skip to content
Vectorlight.net

#a6789c

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

HEX
#a6789c
RGB
166, 120, 156
HSL
313.04°, 20.54%, 56.08%
OKLCH
0.63 0.08 334.4
Names
—
Lists

Codes

FormatValue
HEX#a6789c
RGBrgb(166 120 156)
HSLhsl(313.04 20.54% 56.08%)
OKLCHoklch(0.63 0.08 334.4)
CMYKcmyk(0% 27.71% 6.02% 34.9%)
Android#ffa6789c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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