Skip to content
Vectorlight.net

#a798bf

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

HEX
#a798bf
RGB
167, 152, 191
HSL
263.08°, 23.35%, 67.25%
OKLCH
0.71 0.06 302.47
Names
—
Lists

Codes

FormatValue
HEX#a798bf
RGBrgb(167 152 191)
HSLhsl(263.08 23.35% 67.25%)
OKLCHoklch(0.71 0.06 302.47)
CMYKcmyk(12.57% 20.42% 0% 25.1%)
Android#ffa798bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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