Skip to content
Vectorlight.net

#b336eb

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

HEX
#b336eb
RGB
179, 54, 235
HSL
281.44°, 81.9%, 56.67%
OKLCH
0.6 0.26 312.5
Names
—
Lists

Codes

FormatValue
HEX#b336eb
RGBrgb(179 54 235)
HSLhsl(281.44 81.9% 56.67%)
OKLCHoklch(0.6 0.26 312.5)
CMYKcmyk(23.83% 77.02% 0% 7.84%)
Android#ffb336eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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