Skip to content
Vectorlight.net

#b46ffa

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

HEX
#b46ffa
RGB
180, 111, 250
HSL
269.78°, 93.29%, 70.78%
OKLCH
0.68 0.2 304.43
Names
—
Lists

Codes

FormatValue
HEX#b46ffa
RGBrgb(180 111 250)
HSLhsl(269.78 93.29% 70.78%)
OKLCHoklch(0.68 0.2 304.43)
CMYKcmyk(28% 55.6% 0% 1.96%)
Android#ffb46ffa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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