Skip to content
Vectorlight.net

#b505bb

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

HEX
#b505bb
RGB
181, 5, 187
HSL
298.02°, 94.79%, 37.65%
OKLCH
0.55 0.25 326.6
Names
—
Lists

Codes

FormatValue
HEX#b505bb
RGBrgb(181 5 187)
HSLhsl(298.02 94.79% 37.65%)
OKLCHoklch(0.55 0.25 326.6)
CMYKcmyk(3.21% 97.33% 0% 26.67%)
Android#ffb505bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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