Skip to content
Vectorlight.net

#a525dc

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

HEX
#a525dc
RGB
165, 37, 220
HSL
281.97°, 72.33%, 50.39%
OKLCH
0.56 0.26 312.31
Names
—
Lists

Codes

FormatValue
HEX#a525dc
RGBrgb(165 37 220)
HSLhsl(281.97 72.33% 50.39%)
OKLCHoklch(0.56 0.26 312.31)
CMYKcmyk(25% 83.18% 0% 13.73%)
Android#ffa525dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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