Skip to content
Vectorlight.net

#a152c4

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

HEX
#a152c4
RGB
161, 82, 196
HSL
281.58°, 49.14%, 54.51%
OKLCH
0.58 0.18 314.19
Names
—
Lists

Codes

FormatValue
HEX#a152c4
RGBrgb(161 82 196)
HSLhsl(281.58 49.14% 54.51%)
OKLCHoklch(0.58 0.18 314.19)
CMYKcmyk(17.86% 58.16% 0% 23.14%)
Android#ffa152c4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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