Skip to content
Vectorlight.net

#b166bd

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

HEX
#b166bd
RGB
177, 102, 189
HSL
291.72°, 39.73%, 57.06%
OKLCH
0.63 0.15 321.93
Names
—
Lists

Codes

FormatValue
HEX#b166bd
RGBrgb(177 102 189)
HSLhsl(291.72 39.73% 57.06%)
OKLCHoklch(0.63 0.15 321.93)
CMYKcmyk(6.35% 46.03% 0% 25.88%)
Android#ffb166bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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