Skip to content
Vectorlight.net

#b431bf

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

HEX
#b431bf
RGB
180, 49, 191
HSL
295.35°, 59.17%, 47.06%
OKLCH
0.57 0.23 324.58
Names
—
Lists

Codes

FormatValue
HEX#b431bf
RGBrgb(180 49 191)
HSLhsl(295.35 59.17% 47.06%)
OKLCHoklch(0.57 0.23 324.58)
CMYKcmyk(5.76% 74.35% 0% 25.1%)
Android#ffb431bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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