Skip to content
Vectorlight.net

#b342bd

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

HEX
#b342bd
RGB
179, 66, 189
HSL
295.12°, 48.24%, 50%
OKLCH
0.58 0.21 324.4
Names
—
Lists

Codes

FormatValue
HEX#b342bd
RGBrgb(179 66 189)
HSLhsl(295.12 48.24% 50%)
OKLCHoklch(0.58 0.21 324.4)
CMYKcmyk(5.29% 65.08% 0% 25.88%)
Android#ffb342bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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