Skip to content
Vectorlight.net

#a28aa1

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

HEX
#a28aa1
RGB
162, 138, 161
HSL
302.5°, 11.43%, 58.82%
OKLCH
0.66 0.04 327.36
Names
—
Lists

Codes

FormatValue
HEX#a28aa1
RGBrgb(162 138 161)
HSLhsl(302.5 11.43% 58.82%)
OKLCHoklch(0.66 0.04 327.36)
CMYKcmyk(0% 14.81% 0.62% 36.47%)
Android#ffa28aa1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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