Skip to content
Vectorlight.net

#a798bb

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

HEX
#a798bb
RGB
167, 152, 187
HSL
265.71°, 20.47%, 66.47%
OKLCH
0.7 0.05 304.53
Names
—
Lists

Codes

FormatValue
HEX#a798bb
RGBrgb(167 152 187)
HSLhsl(265.71 20.47% 66.47%)
OKLCHoklch(0.7 0.05 304.53)
CMYKcmyk(10.7% 18.72% 0% 26.67%)
Android#ffa798bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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