Skip to content
Vectorlight.net

#b342fd

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

HEX
#b342fd
RGB
179, 66, 253
HSL
276.26°, 97.91%, 62.55%
OKLCH
0.62 0.26 307.89
Names
—
Lists

Codes

FormatValue
HEX#b342fd
RGBrgb(179 66 253)
HSLhsl(276.26 97.91% 62.55%)
OKLCHoklch(0.62 0.26 307.89)
CMYKcmyk(29.25% 73.91% 0% 0.78%)
Android#ffb342fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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