Skip to content
Vectorlight.net

#b2007f

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

HEX
#b2007f
RGB
178, 0, 127
HSL
317.19°, 100%, 34.9%
OKLCH
0.51 0.22 345.85
Names
—
Lists

Codes

FormatValue
HEX#b2007f
RGBrgb(178 0 127)
HSLhsl(317.19 100% 34.9%)
OKLCHoklch(0.51 0.22 345.85)
CMYKcmyk(0% 100% 28.65% 30.2%)
Android#ffb2007f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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