Skip to content
Vectorlight.net

#a591fe

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

HEX
#a591fe
RGB
165, 145, 254
HSL
251.01°, 98.2%, 78.24%
OKLCH
0.72 0.16 290.37
Names
—
Lists

Codes

FormatValue
HEX#a591fe
RGBrgb(165 145 254)
HSLhsl(251.01 98.2% 78.24%)
OKLCHoklch(0.72 0.16 290.37)
CMYKcmyk(35.04% 42.91% 0% 0.39%)
Android#ffa591fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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