Skip to content
Vectorlight.net

#b172ec

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

HEX
#b172ec
RGB
177, 114, 236
HSL
270.98°, 76.25%, 68.63%
OKLCH
0.67 0.18 305.92
Names
—
Lists

Codes

FormatValue
HEX#b172ec
RGBrgb(177 114 236)
HSLhsl(270.98 76.25% 68.63%)
OKLCHoklch(0.67 0.18 305.92)
CMYKcmyk(25% 51.69% 0% 7.45%)
Android#ffb172ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.48:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#b172ec"
Gradient stop
<stop stop-color="#b172ec"/>
CSS variable + fill
:root { --c: #b172ec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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