Skip to content
Vectorlight.net

#a12697

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

HEX
#a12697
RGB
161, 38, 151
HSL
304.88°, 61.81%, 39.02%
OKLCH
0.51 0.2 331.72
Names
—
Lists

Codes

FormatValue
HEX#a12697
RGBrgb(161 38 151)
HSLhsl(304.88 61.81% 39.02%)
OKLCHoklch(0.51 0.2 331.72)
CMYKcmyk(0% 76.4% 6.21% 36.86%)
Android#ffa12697

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

Recolor an SVG with this color

CSS

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