Skip to content
Vectorlight.net

#b271a0

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

HEX
#b271a0
RGB
178, 113, 160
HSL
316.62°, 29.68%, 57.06%
OKLCH
0.63 0.1 337.63
Names
—
Lists

Codes

FormatValue
HEX#b271a0
RGBrgb(178 113 160)
HSLhsl(316.62 29.68% 57.06%)
OKLCHoklch(0.63 0.1 337.63)
CMYKcmyk(0% 36.52% 10.11% 30.2%)
Android#ffb271a0

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.64:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.76:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#b271a0"
Gradient stop
<stop stop-color="#b271a0"/>
CSS variable + fill
:root { --c: #b271a0; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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