Skip to content
Vectorlight.net

#b24aaa

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

HEX
#b24aaa
RGB
178, 74, 170
HSL
304.62°, 41.27%, 49.41%
OKLCH
0.58 0.18 330.67
Names
—
Lists

Codes

FormatValue
HEX#b24aaa
RGBrgb(178 74 170)
HSLhsl(304.62 41.27% 49.41%)
OKLCHoklch(0.58 0.18 330.67)
CMYKcmyk(0% 58.43% 4.49% 30.2%)
Android#ffb24aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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