Skip to content
Vectorlight.net

#b508cb

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

HEX
#b508cb
RGB
181, 8, 203
HSL
293.23°, 92.42%, 41.37%
OKLCH
0.56 0.26 322.18
Names
—
Lists

Codes

FormatValue
HEX#b508cb
RGBrgb(181 8 203)
HSLhsl(293.23 92.42% 41.37%)
OKLCHoklch(0.56 0.26 322.18)
CMYKcmyk(10.84% 96.06% 0% 20.39%)
Android#ffb508cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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