Skip to content
Vectorlight.net

#a7338a

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

HEX
#a7338a
RGB
167, 51, 138
HSL
315°, 53.21%, 42.75%
OKLCH
0.52 0.18 339.45
Names
—
Lists

Codes

FormatValue
HEX#a7338a
RGBrgb(167 51 138)
HSLhsl(315 53.21% 42.75%)
OKLCHoklch(0.52 0.18 339.45)
CMYKcmyk(0% 69.46% 17.37% 34.51%)
Android#ffa7338a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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