Skip to content
Vectorlight.net

#b451cf

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

HEX
#b451cf
RGB
180, 81, 207
HSL
287.14°, 56.76%, 56.47%
OKLCH
0.61 0.2 318.47
Names
—
Lists

Codes

FormatValue
HEX#b451cf
RGBrgb(180 81 207)
HSLhsl(287.14 56.76% 56.47%)
OKLCHoklch(0.61 0.2 318.47)
CMYKcmyk(13.04% 60.87% 0% 18.82%)
Android#ffb451cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

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