Skip to content
Vectorlight.net

#a797da

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

HEX
#a797da
RGB
167, 151, 218
HSL
254.33°, 47.52%, 72.35%
OKLCH
0.72 0.1 294.78
Names
—
Lists

Codes

FormatValue
HEX#a797da
RGBrgb(167 151 218)
HSLhsl(254.33 47.52% 72.35%)
OKLCHoklch(0.72 0.1 294.78)
CMYKcmyk(23.39% 30.73% 0% 14.51%)
Android#ffa797da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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