Skip to content
Vectorlight.net

#b31dbf

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

HEX
#b31dbf
RGB
179, 29, 191
HSL
295.56°, 73.64%, 43.14%
OKLCH
0.55 0.24 324.64
Names
—
Lists

Codes

FormatValue
HEX#b31dbf
RGBrgb(179 29 191)
HSLhsl(295.56 73.64% 43.14%)
OKLCHoklch(0.55 0.24 324.64)
CMYKcmyk(6.28% 84.82% 0% 25.1%)
Android#ffb31dbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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