Skip to content
Vectorlight.net

#b118aa

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

HEX
#b118aa
RGB
177, 24, 170
HSL
302.75°, 76.12%, 39.41%
OKLCH
0.54 0.23 330.45
Names
—
Lists

Codes

FormatValue
HEX#b118aa
RGBrgb(177 24 170)
HSLhsl(302.75 76.12% 39.41%)
OKLCHoklch(0.54 0.23 330.45)
CMYKcmyk(0% 86.44% 3.95% 30.59%)
Android#ffb118aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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