Skip to content
Vectorlight.net

#b405cf

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

HEX
#b405cf
RGB
180, 5, 207
HSL
291.98°, 95.28%, 41.57%
OKLCH
0.56 0.27 320.86
Names
—
Lists

Codes

FormatValue
HEX#b405cf
RGBrgb(180 5 207)
HSLhsl(291.98 95.28% 41.57%)
OKLCHoklch(0.56 0.27 320.86)
CMYKcmyk(13.04% 97.58% 0% 18.82%)
Android#ffb405cf

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

Recolor an SVG with this color

CSS

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