Skip to content
Vectorlight.net

#b46dfa

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

HEX
#b46dfa
RGB
180, 109, 250
HSL
270.21°, 93.38%, 70.39%
OKLCH
0.67 0.21 304.71
Names
—
Lists

Codes

FormatValue
HEX#b46dfa
RGBrgb(180 109 250)
HSLhsl(270.21 93.38% 70.39%)
OKLCHoklch(0.67 0.21 304.71)
CMYKcmyk(28% 56.4% 0% 1.96%)
Android#ffb46dfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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