Skip to content
Vectorlight.net

#b170ee

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

HEX
#b170ee
RGB
177, 112, 238
HSL
270.95°, 78.75%, 68.63%
OKLCH
0.67 0.19 305.76
Names
—
Lists

Codes

FormatValue
HEX#b170ee
RGBrgb(177 112 238)
HSLhsl(270.95 78.75% 68.63%)
OKLCHoklch(0.67 0.19 305.76)
CMYKcmyk(25.63% 52.94% 0% 6.67%)
Android#ffb170ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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