Skip to content
Vectorlight.net

#b048fc

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

HEX
#b048fc
RGB
176, 72, 252
HSL
274.67°, 96.77%, 63.53%
OKLCH
0.63 0.25 306.72
Names
—
Lists

Codes

FormatValue
HEX#b048fc
RGBrgb(176 72 252)
HSLhsl(274.67 96.77% 63.53%)
OKLCHoklch(0.63 0.25 306.72)
CMYKcmyk(30.16% 71.43% 0% 1.18%)
Android#ffb048fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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