Skip to content
Vectorlight.net

#a256cf

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

HEX
#a256cf
RGB
162, 86, 207
HSL
277.69°, 55.76%, 57.45%
OKLCH
0.6 0.19 310.96
Names
—
Lists

Codes

FormatValue
HEX#a256cf
RGBrgb(162 86 207)
HSLhsl(277.69 55.76% 57.45%)
OKLCHoklch(0.6 0.19 310.96)
CMYKcmyk(21.74% 58.45% 0% 18.82%)
Android#ffa256cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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