Skip to content
Vectorlight.net

#a562fc

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

HEX
#a562fc
RGB
165, 98, 252
HSL
266.1°, 96.25%, 68.63%
OKLCH
0.64 0.22 300.31
Names
—
Lists

Codes

FormatValue
HEX#a562fc
RGBrgb(165 98 252)
HSLhsl(266.1 96.25% 68.63%)
OKLCHoklch(0.64 0.22 300.31)
CMYKcmyk(34.52% 61.11% 0% 1.18%)
Android#ffa562fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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