Skip to content
Vectorlight.net

#b151dd

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

HEX
#b151dd
RGB
177, 81, 221
HSL
281.14°, 67.31%, 59.22%
OKLCH
0.62 0.21 313.48
Names
—
Lists

Codes

FormatValue
HEX#b151dd
RGBrgb(177 81 221)
HSLhsl(281.14 67.31% 59.22%)
OKLCHoklch(0.62 0.21 313.48)
CMYKcmyk(19.91% 63.35% 0% 13.33%)
Android#ffb151dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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