Skip to content
Vectorlight.net

#a528bc

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

HEX
#a528bc
RGB
165, 40, 188
HSL
290.68°, 64.91%, 44.71%
OKLCH
0.54 0.23 320.72
Names
—
Lists

Codes

FormatValue
HEX#a528bc
RGBrgb(165 40 188)
HSLhsl(290.68 64.91% 44.71%)
OKLCHoklch(0.54 0.23 320.72)
CMYKcmyk(12.23% 78.72% 0% 26.27%)
Android#ffa528bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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