Skip to content
Vectorlight.net

#a45bed

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

HEX
#a45bed
RGB
164, 91, 237
HSL
270°, 80.22%, 64.31%
OKLCH
0.62 0.21 303.84
Names
—
Lists

Codes

FormatValue
HEX#a45bed
RGBrgb(164 91 237)
HSLhsl(270 80.22% 64.31%)
OKLCHoklch(0.62 0.21 303.84)
CMYKcmyk(30.8% 61.6% 0% 7.06%)
Android#ffa45bed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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