Skip to content
Vectorlight.net

#a56fac

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

HEX
#a56fac
RGB
165, 111, 172
HSL
293.11°, 26.87%, 55.49%
OKLCH
0.62 0.11 322.71
Names
—
Lists

Codes

FormatValue
HEX#a56fac
RGBrgb(165 111 172)
HSLhsl(293.11 26.87% 55.49%)
OKLCHoklch(0.62 0.11 322.71)
CMYKcmyk(4.07% 35.47% 0% 32.55%)
Android#ffa56fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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