Skip to content
Vectorlight.net

#b162eb

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

HEX
#b162eb
RGB
177, 98, 235
HSL
274.6°, 77.4%, 65.29%
OKLCH
0.65 0.2 308.32
Names
—
Lists

Codes

FormatValue
HEX#b162eb
RGBrgb(177 98 235)
HSLhsl(274.6 77.4% 65.29%)
OKLCHoklch(0.65 0.2 308.32)
CMYKcmyk(24.68% 58.3% 0% 7.84%)
Android#ffb162eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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