Skip to content
Vectorlight.net

#b170eb

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

HEX
#b170eb
RGB
177, 112, 235
HSL
271.71°, 75.46%, 68.04%
OKLCH
0.67 0.18 306.47
Names
—
Lists

Codes

FormatValue
HEX#b170eb
RGBrgb(177 112 235)
HSLhsl(271.71 75.46% 68.04%)
OKLCHoklch(0.67 0.18 306.47)
CMYKcmyk(24.68% 52.34% 0% 7.84%)
Android#ffb170eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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