Skip to content
Vectorlight.net

#a798cb

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

HEX
#a798cb
RGB
167, 152, 203
HSL
257.65°, 32.9%, 69.61%
OKLCH
0.71 0.07 297.95
Names
—
Lists

Codes

FormatValue
HEX#a798cb
RGBrgb(167 152 203)
HSLhsl(257.65 32.9% 69.61%)
OKLCHoklch(0.71 0.07 297.95)
CMYKcmyk(17.73% 25.12% 0% 20.39%)
Android#ffa798cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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