Skip to content
Vectorlight.net

#a145bf

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

HEX
#a145bf
RGB
161, 69, 191
HSL
285.25°, 48.8%, 50.98%
OKLCH
0.56 0.19 316.87
Names
—
Lists

Codes

FormatValue
HEX#a145bf
RGBrgb(161 69 191)
HSLhsl(285.25 48.8% 50.98%)
OKLCHoklch(0.56 0.19 316.87)
CMYKcmyk(15.71% 63.87% 0% 25.1%)
Android#ffa145bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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