Skip to content
Vectorlight.net

#a256dc

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

HEX
#a256dc
RGB
162, 86, 220
HSL
274.03°, 65.69%, 60%
OKLCH
0.6 0.2 307.57
Names
—
Lists

Codes

FormatValue
HEX#a256dc
RGBrgb(162 86 220)
HSLhsl(274.03 65.69% 60%)
OKLCHoklch(0.6 0.2 307.57)
CMYKcmyk(26.36% 60.91% 0% 13.73%)
Android#ffa256dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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