Skip to content
Vectorlight.net

#a146bc

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

HEX
#a146bc
RGB
161, 70, 188
HSL
286.27°, 46.83%, 50.59%
OKLCH
0.56 0.19 317.73
Names
—
Lists

Codes

FormatValue
HEX#a146bc
RGBrgb(161 70 188)
HSLhsl(286.27 46.83% 50.59%)
OKLCHoklch(0.56 0.19 317.73)
CMYKcmyk(14.36% 62.77% 0% 26.27%)
Android#ffa146bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.10:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.11:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a146bc"
Gradient stop
<stop stop-color="#a146bc"/>
CSS variable + fill
:root { --c: #a146bc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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