Skip to content
Vectorlight.net

#b49efb

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

HEX
#b49efb
RGB
180, 158, 251
HSL
254.19°, 92.08%, 80.2%
OKLCH
0.75 0.13 293.85
Names
—
Lists

Codes

FormatValue
HEX#b49efb
RGBrgb(180 158 251)
HSLhsl(254.19 92.08% 80.2%)
OKLCHoklch(0.75 0.13 293.85)
CMYKcmyk(28.29% 37.05% 0% 1.57%)
Android#ffb49efb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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