Skip to content
Vectorlight.net

#b237aa

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

HEX
#b237aa
RGB
178, 55, 170
HSL
303.9°, 52.79%, 45.69%
OKLCH
0.56 0.2 330.68
Names
—
Lists

Codes

FormatValue
HEX#b237aa
RGBrgb(178 55 170)
HSLhsl(303.9 52.79% 45.69%)
OKLCHoklch(0.56 0.2 330.68)
CMYKcmyk(0% 69.1% 4.49% 30.2%)
Android#ffb237aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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