Skip to content
Vectorlight.net

#b166ce

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

HEX
#b166ce
RGB
177, 102, 206
HSL
283.27°, 51.49%, 60.39%
OKLCH
0.64 0.17 315.85
Names
—
Lists

Codes

FormatValue
HEX#b166ce
RGBrgb(177 102 206)
HSLhsl(283.27 51.49% 60.39%)
OKLCHoklch(0.64 0.17 315.85)
CMYKcmyk(14.08% 50.49% 0% 19.22%)
Android#ffb166ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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