Skip to content
Vectorlight.net

#b45fba

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

HEX
#b45fba
RGB
180, 95, 186
HSL
296.04°, 39.74%, 55.1%
OKLCH
0.62 0.16 324.81
Names
—
Lists

Codes

FormatValue
HEX#b45fba
RGBrgb(180 95 186)
HSLhsl(296.04 39.74% 55.1%)
OKLCHoklch(0.62 0.16 324.81)
CMYKcmyk(3.23% 48.92% 0% 27.06%)
Android#ffb45fba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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