Skip to content
Vectorlight.net

#a146dc

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

HEX
#a146dc
RGB
161, 70, 220
HSL
276.4°, 68.18%, 56.86%
OKLCH
0.58 0.22 308.86
Names
—
Lists

Codes

FormatValue
HEX#a146dc
RGBrgb(161 70 220)
HSLhsl(276.4 68.18% 56.86%)
OKLCHoklch(0.58 0.22 308.86)
CMYKcmyk(26.82% 68.18% 0% 13.73%)
Android#ffa146dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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