Skip to content
Vectorlight.net

#b238aa

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

HEX
#b238aa
RGB
178, 56, 170
HSL
303.93°, 52.14%, 45.88%
OKLCH
0.56 0.2 330.68
Names
—
Lists

Codes

FormatValue
HEX#b238aa
RGBrgb(178 56 170)
HSLhsl(303.93 52.14% 45.88%)
OKLCHoklch(0.56 0.2 330.68)
CMYKcmyk(0% 68.54% 4.49% 30.2%)
Android#ffb238aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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