Skip to content
Vectorlight.net

#b23aaa

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

HEX
#b23aaa
RGB
178, 58, 170
HSL
304°, 50.85%, 46.27%
OKLCH
0.56 0.2 330.67
Names
—
Lists

Codes

FormatValue
HEX#b23aaa
RGBrgb(178 58 170)
HSLhsl(304 50.85% 46.27%)
OKLCHoklch(0.56 0.2 330.67)
CMYKcmyk(0% 67.42% 4.49% 30.2%)
Android#ffb23aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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