Skip to content
Vectorlight.net

#a798cd

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

HEX
#a798cd
RGB
167, 152, 205
HSL
256.98°, 34.64%, 70%
OKLCH
0.71 0.08 297.37
Names
—
Lists

Codes

FormatValue
HEX#a798cd
RGBrgb(167 152 205)
HSLhsl(256.98 34.64% 70%)
OKLCHoklch(0.71 0.08 297.37)
CMYKcmyk(18.54% 25.85% 0% 19.61%)
Android#ffa798cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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