Skip to content
Vectorlight.net

#a28bee

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

HEX
#a28bee
RGB
162, 139, 238
HSL
253.94°, 74.44%, 73.92%
OKLCH
0.7 0.14 293.01
Names
—
Lists

Codes

FormatValue
HEX#a28bee
RGBrgb(162 139 238)
HSLhsl(253.94 74.44% 73.92%)
OKLCHoklch(0.7 0.14 293.01)
CMYKcmyk(31.93% 41.6% 0% 6.67%)
Android#ffa28bee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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