Skip to content
Vectorlight.net

#a145bc

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

HEX
#a145bc
RGB
161, 69, 188
HSL
286.39°, 47.04%, 50.39%
OKLCH
0.56 0.19 317.8
Names
—
Lists

Codes

FormatValue
HEX#a145bc
RGBrgb(161 69 188)
HSLhsl(286.39 47.04% 50.39%)
OKLCHoklch(0.56 0.19 317.8)
CMYKcmyk(14.36% 63.3% 0% 26.27%)
Android#ffa145bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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