Skip to content
Vectorlight.net

#a562f7

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

HEX
#a562f7
RGB
165, 98, 247
HSL
266.98°, 90.3%, 67.65%
OKLCH
0.64 0.21 301.26
Names
—
Lists

Codes

FormatValue
HEX#a562f7
RGBrgb(165 98 247)
HSLhsl(266.98 90.3% 67.65%)
OKLCHoklch(0.64 0.21 301.26)
CMYKcmyk(33.2% 60.32% 0% 3.14%)
Android#ffa562f7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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