Skip to content
Vectorlight.net

#a797ad

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

HEX
#a797ad
RGB
167, 151, 173
HSL
283.64°, 11.83%, 63.53%
OKLCH
0.7 0.04 316.85
Names
—
Lists

Codes

FormatValue
HEX#a797ad
RGBrgb(167 151 173)
HSLhsl(283.64 11.83% 63.53%)
OKLCHoklch(0.7 0.04 316.85)
CMYKcmyk(3.47% 12.72% 0% 32.16%)
Android#ffa797ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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