Skip to content
Vectorlight.net

#b338ef

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

HEX
#b338ef
RGB
179, 56, 239
HSL
280.33°, 85.12%, 57.84%
OKLCH
0.6 0.26 311.49
Names
—
Lists

Codes

FormatValue
HEX#b338ef
RGBrgb(179 56 239)
HSLhsl(280.33 85.12% 57.84%)
OKLCHoklch(0.6 0.26 311.49)
CMYKcmyk(25.1% 76.57% 0% 6.27%)
Android#ffb338ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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