Skip to content
Vectorlight.net

#b431bd

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

HEX
#b431bd
RGB
180, 49, 189
HSL
296.14°, 58.82%, 46.67%
OKLCH
0.57 0.23 325.19
Names
—
Lists

Codes

FormatValue
HEX#b431bd
RGBrgb(180 49 189)
HSLhsl(296.14 58.82% 46.67%)
OKLCHoklch(0.57 0.23 325.19)
CMYKcmyk(4.76% 74.07% 0% 25.88%)
Android#ffb431bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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