Skip to content
Vectorlight.net

#b41bdb

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

HEX
#b41bdb
RGB
180, 27, 219
HSL
287.81°, 78.05%, 48.24%
OKLCH
0.57 0.27 317.54
Names
—
Lists

Codes

FormatValue
HEX#b41bdb
RGBrgb(180 27 219)
HSLhsl(287.81 78.05% 48.24%)
OKLCHoklch(0.57 0.27 317.54)
CMYKcmyk(17.81% 87.67% 0% 14.12%)
Android#ffb41bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.12:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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