Skip to content
Vectorlight.net

#a512bc

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

HEX
#a512bc
RGB
165, 18, 188
HSL
291.88°, 82.52%, 40.39%
OKLCH
0.53 0.24 321.24
Names
—
Lists

Codes

FormatValue
HEX#a512bc
RGBrgb(165 18 188)
HSLhsl(291.88 82.52% 40.39%)
OKLCHoklch(0.53 0.24 321.24)
CMYKcmyk(12.23% 90.43% 0% 26.27%)
Android#ffa512bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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