Skip to content
Vectorlight.net

#a526bf

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

HEX
#a526bf
RGB
165, 38, 191
HSL
289.8°, 66.81%, 44.9%
OKLCH
0.54 0.23 319.91
Names
—
Lists

Codes

FormatValue
HEX#a526bf
RGBrgb(165 38 191)
HSLhsl(289.8 66.81% 44.9%)
OKLCHoklch(0.54 0.23 319.91)
CMYKcmyk(13.61% 80.1% 0% 25.1%)
Android#ffa526bf

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="#a526bf"
Gradient stop
<stop stop-color="#a526bf"/>
CSS variable + fill
:root { --c: #a526bf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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