Skip to content
Vectorlight.net

#a28aaa

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

HEX
#a28aaa
RGB
162, 138, 170
HSL
285°, 15.84%, 60.39%
OKLCH
0.67 0.05 317.63
Names
—
Lists

Codes

FormatValue
HEX#a28aaa
RGBrgb(162 138 170)
HSLhsl(285 15.84% 60.39%)
OKLCHoklch(0.67 0.05 317.63)
CMYKcmyk(4.71% 18.82% 0% 33.33%)
Android#ffa28aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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