Skip to content
Vectorlight.net

#b166de

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

HEX
#b166de
RGB
177, 102, 222
HSL
277.5°, 64.52%, 63.53%
OKLCH
0.64 0.18 311.12
Names
—
Lists

Codes

FormatValue
HEX#b166de
RGBrgb(177 102 222)
HSLhsl(277.5 64.52% 63.53%)
OKLCHoklch(0.64 0.18 311.12)
CMYKcmyk(20.27% 54.05% 0% 12.94%)
Android#ffb166de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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