Skip to content
Vectorlight.net

#a508af

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

HEX
#a508af
RGB
165, 8, 175
HSL
296.41°, 91.26%, 35.88%
OKLCH
0.52 0.24 325.19
Names
—
Lists

Codes

FormatValue
HEX#a508af
RGBrgb(165 8 175)
HSLhsl(296.41 91.26% 35.88%)
OKLCHoklch(0.52 0.24 325.19)
CMYKcmyk(5.71% 95.43% 0% 31.37%)
Android#ffa508af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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