Skip to content
Vectorlight.net

#a12795

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

HEX
#a12795
RGB
161, 39, 149
HSL
305.9°, 61%, 39.22%
OKLCH
0.51 0.2 332.49
Names
—
Lists

Codes

FormatValue
HEX#a12795
RGBrgb(161 39 149)
HSLhsl(305.9 61% 39.22%)
OKLCHoklch(0.51 0.2 332.49)
CMYKcmyk(0% 75.78% 7.45% 36.86%)
Android#ffa12795

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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