Skip to content
Vectorlight.net

#b126dc

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

HEX
#b126dc
RGB
177, 38, 220
HSL
285.82°, 72.22%, 50.59%
OKLCH
0.58 0.26 316.09
Names
—
Lists

Codes

FormatValue
HEX#b126dc
RGBrgb(177 38 220)
HSLhsl(285.82 72.22% 50.59%)
OKLCHoklch(0.58 0.26 316.09)
CMYKcmyk(19.55% 82.73% 0% 13.73%)
Android#ffb126dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.02:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.18:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#b126dc"
Gradient stop
<stop stop-color="#b126dc"/>
CSS variable + fill
:root { --c: #b126dc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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