Skip to content
Vectorlight.net

#b46bf1

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

HEX
#b46bf1
RGB
180, 107, 241
HSL
272.69°, 82.72%, 68.24%
OKLCH
0.67 0.2 306.95
Names
—
Lists

Codes

FormatValue
HEX#b46bf1
RGBrgb(180 107 241)
HSLhsl(272.69 82.72% 68.24%)
OKLCHoklch(0.67 0.2 306.95)
CMYKcmyk(25.31% 55.6% 0% 5.49%)
Android#ffb46bf1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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