Skip to content
Vectorlight.net

#b515db

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

HEX
#b515db
RGB
181, 21, 219
HSL
288.48°, 82.5%, 47.06%
OKLCH
0.57 0.27 317.95
Names
—
Lists

Codes

FormatValue
HEX#b515db
RGBrgb(181 21 219)
HSLhsl(288.48 82.5% 47.06%)
OKLCHoklch(0.57 0.27 317.95)
CMYKcmyk(17.35% 90.41% 0% 14.12%)
Android#ffb515db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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