Skip to content
Vectorlight.net

#a548bb

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

HEX
#a548bb
RGB
165, 72, 187
HSL
288.52°, 45.82%, 50.78%
OKLCH
0.57 0.19 319.52
Names
—
Lists

Codes

FormatValue
HEX#a548bb
RGBrgb(165 72 187)
HSLhsl(288.52 45.82% 50.78%)
OKLCHoklch(0.57 0.19 319.52)
CMYKcmyk(11.76% 61.5% 0% 26.67%)
Android#ffa548bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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