Skip to content
Vectorlight.net

#a247dd

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

HEX
#a247dd
RGB
162, 71, 221
HSL
276.4°, 68.81%, 57.25%
OKLCH
0.59 0.22 308.89
Names
—
Lists

Codes

FormatValue
HEX#a247dd
RGBrgb(162 71 221)
HSLhsl(276.4 68.81% 57.25%)
OKLCHoklch(0.59 0.22 308.89)
CMYKcmyk(26.7% 67.87% 0% 13.33%)
Android#ffa247dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.48:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a247dd"
Gradient stop
<stop stop-color="#a247dd"/>
CSS variable + fill
:root { --c: #a247dd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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