Skip to content
Vectorlight.net

#a548df

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

HEX
#a548df
RGB
165, 72, 223
HSL
276.95°, 70.23%, 57.84%
OKLCH
0.59 0.22 309.41
Names
—
Lists

Codes

FormatValue
HEX#a548df
RGBrgb(165 72 223)
HSLhsl(276.95 70.23% 57.84%)
OKLCHoklch(0.59 0.22 309.41)
CMYKcmyk(26.01% 67.71% 0% 12.55%)
Android#ffa548df

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.59:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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