Skip to content
Vectorlight.net

#a262dd

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

HEX
#a262dd
RGB
162, 98, 221
HSL
271.22°, 64.4%, 62.55%
OKLCH
0.62 0.18 305.72
Names
—
Lists

Codes

FormatValue
HEX#a262dd
RGBrgb(162 98 221)
HSLhsl(271.22 64.4% 62.55%)
OKLCHoklch(0.62 0.18 305.72)
CMYKcmyk(26.7% 55.66% 0% 13.33%)
Android#ffa262dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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