Skip to content
Vectorlight.net

#b05afc

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

HEX
#b05afc
RGB
176, 90, 252
HSL
271.85°, 96.43%, 67.06%
OKLCH
0.65 0.23 305.12
Names
—
Lists

Codes

FormatValue
HEX#b05afc
RGBrgb(176 90 252)
HSLhsl(271.85 96.43% 67.06%)
OKLCHoklch(0.65 0.23 305.12)
CMYKcmyk(30.16% 64.29% 0% 1.18%)
Android#ffb05afc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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