Skip to content
Vectorlight.net

#a540ed

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

HEX
#a540ed
RGB
165, 64, 237
HSL
275.03°, 82.78%, 59.02%
OKLCH
0.59 0.25 306.87
Names
—
Lists

Codes

FormatValue
HEX#a540ed
RGBrgb(165 64 237)
HSLhsl(275.03 82.78% 59.02%)
OKLCHoklch(0.59 0.25 306.87)
CMYKcmyk(30.38% 73% 0% 7.06%)
Android#ffa540ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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