Skip to content
Vectorlight.net

#b47aea

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

HEX
#b47aea
RGB
180, 122, 234
HSL
271.07°, 72.73%, 69.8%
OKLCH
0.68 0.17 306.38
Names
—
Lists

Codes

FormatValue
HEX#b47aea
RGBrgb(180 122 234)
HSLhsl(271.07 72.73% 69.8%)
OKLCHoklch(0.68 0.17 306.38)
CMYKcmyk(23.08% 47.86% 0% 8.24%)
Android#ffb47aea

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.91: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="#b47aea"
Gradient stop
<stop stop-color="#b47aea"/>
CSS variable + fill
:root { --c: #b47aea; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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