Skip to content
Vectorlight.net

#a28cb2

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

HEX
#a28cb2
RGB
162, 140, 178
HSL
274.74°, 19.79%, 62.35%
OKLCH
0.67 0.06 310.82
Names
—
Lists

Codes

FormatValue
HEX#a28cb2
RGBrgb(162 140 178)
HSLhsl(274.74 19.79% 62.35%)
OKLCHoklch(0.67 0.06 310.82)
CMYKcmyk(8.99% 21.35% 0% 30.2%)
Android#ffa28cb2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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