Skip to content
Vectorlight.net

#b04fa2

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

HEX
#b04fa2
RGB
176, 79, 162
HSL
308.66°, 38.04%, 50%
OKLCH
0.58 0.16 333.3
Names
—
Lists

Codes

FormatValue
HEX#b04fa2
RGBrgb(176 79 162)
HSLhsl(308.66 38.04% 50%)
OKLCHoklch(0.58 0.16 333.3)
CMYKcmyk(0% 55.11% 7.95% 30.98%)
Android#ffb04fa2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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