Skip to content
Vectorlight.net

#b118cf

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

HEX
#b118cf
RGB
177, 24, 207
HSL
290.16°, 79.22%, 45.29%
OKLCH
0.56 0.26 319.73
Names
—
Lists

Codes

FormatValue
HEX#b118cf
RGBrgb(177 24 207)
HSLhsl(290.16 79.22% 45.29%)
OKLCHoklch(0.56 0.26 319.73)
CMYKcmyk(14.49% 88.41% 0% 18.82%)
Android#ffb118cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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