Skip to content
Vectorlight.net

#b46afd

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

HEX
#b46afd
RGB
180, 106, 253
HSL
270.2°, 97.35%, 70.39%
OKLCH
0.67 0.21 304.48
Names
—
Lists

Codes

FormatValue
HEX#b46afd
RGBrgb(180 106 253)
HSLhsl(270.2 97.35% 70.39%)
OKLCHoklch(0.67 0.21 304.48)
CMYKcmyk(28.85% 58.1% 0% 0.78%)
Android#ffb46afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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