Skip to content
Vectorlight.net

#a74698

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

HEX
#a74698
RGB
167, 70, 152
HSL
309.28°, 40.93%, 46.47%
OKLCH
0.55 0.16 333.93
Names
—
Lists

Codes

FormatValue
HEX#a74698
RGBrgb(167 70 152)
HSLhsl(309.28 40.93% 46.47%)
OKLCHoklch(0.55 0.16 333.93)
CMYKcmyk(0% 58.08% 8.98% 34.51%)
Android#ffa74698

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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