Skip to content
Vectorlight.net

#a74897

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

HEX
#a74897
RGB
167, 72, 151
HSL
310.11°, 39.75%, 46.86%
OKLCH
0.55 0.16 334.45
Names
—
Lists

Codes

FormatValue
HEX#a74897
RGBrgb(167 72 151)
HSLhsl(310.11 39.75% 46.86%)
OKLCHoklch(0.55 0.16 334.45)
CMYKcmyk(0% 56.89% 9.58% 34.51%)
Android#ffa74897

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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