Skip to content
Vectorlight.net

#b431dc

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

HEX
#b431dc
RGB
180, 49, 220
HSL
285.96°, 70.95%, 52.75%
OKLCH
0.59 0.25 316.63
Names
—
Lists

Codes

FormatValue
HEX#b431dc
RGBrgb(180 49 220)
HSLhsl(285.96 70.95% 52.75%)
OKLCHoklch(0.59 0.25 316.63)
CMYKcmyk(18.18% 77.73% 0% 13.73%)
Android#ffb431dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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