Skip to content
Vectorlight.net

#bd1fa5

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

HEX
#bd1fa5
RGB
189, 31, 165
HSL
309.11°, 71.82%, 43.14%
OKLCH
0.56 0.23 335.73
Names
—
Lists

Codes

FormatValue
HEX#bd1fa5
RGBrgb(189 31 165)
HSLhsl(309.11 71.82% 43.14%)
OKLCHoklch(0.56 0.23 335.73)
CMYKcmyk(0% 83.6% 12.7% 25.88%)
Android#ffbd1fa5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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