Skip to content
Vectorlight.net

#a512be

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

HEX
#a512be
RGB
165, 18, 190
HSL
291.28°, 82.69%, 40.78%
OKLCH
0.53 0.24 320.67
Names
—
Lists

Codes

FormatValue
HEX#a512be
RGBrgb(165 18 190)
HSLhsl(291.28 82.69% 40.78%)
OKLCHoklch(0.53 0.24 320.67)
CMYKcmyk(13.16% 90.53% 0% 25.49%)
Android#ffa512be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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