Skip to content
Vectorlight.net

#a511af

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

HEX
#a511af
RGB
165, 17, 175
HSL
296.2°, 82.29%, 37.65%
OKLCH
0.52 0.23 325.11
Names
—
Lists

Codes

FormatValue
HEX#a511af
RGBrgb(165 17 175)
HSLhsl(296.2 82.29% 37.65%)
OKLCHoklch(0.52 0.23 325.11)
CMYKcmyk(5.71% 90.29% 0% 31.37%)
Android#ffa511af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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