Skip to content
Vectorlight.net

#b152ea

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

HEX
#b152ea
RGB
177, 82, 234
HSL
277.5°, 78.35%, 61.96%
OKLCH
0.62 0.23 310.18
Names
—
Lists

Codes

FormatValue
HEX#b152ea
RGBrgb(177 82 234)
HSLhsl(277.5 78.35% 61.96%)
OKLCHoklch(0.62 0.23 310.18)
CMYKcmyk(24.36% 64.96% 0% 8.24%)
Android#ffb152ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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