Skip to content
Vectorlight.net

#b271bd

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

HEX
#b271bd
RGB
178, 113, 189
HSL
291.32°, 36.54%, 59.22%
OKLCH
0.65 0.13 321.62
Names
—
Lists

Codes

FormatValue
HEX#b271bd
RGBrgb(178 113 189)
HSLhsl(291.32 36.54% 59.22%)
OKLCHoklch(0.65 0.13 321.62)
CMYKcmyk(5.82% 40.21% 0% 25.88%)
Android#ffb271bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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