Skip to content
Vectorlight.net

#be31ab

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

HEX
#be31ab
RGB
190, 49, 171
HSL
308.09°, 59%, 46.86%
OKLCH
0.57 0.22 334.18
Names
—
Lists

Codes

FormatValue
HEX#be31ab
RGBrgb(190 49 171)
HSLhsl(308.09 59% 46.86%)
OKLCHoklch(0.57 0.22 334.18)
CMYKcmyk(0% 74.21% 10% 25.49%)
Android#ffbe31ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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