Skip to content
Vectorlight.net

#a271be

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

HEX
#a271be
RGB
162, 113, 190
HSL
278.18°, 37.2%, 59.41%
OKLCH
0.63 0.12 312.46
Names
—
Lists

Codes

FormatValue
HEX#a271be
RGBrgb(162 113 190)
HSLhsl(278.18 37.2% 59.41%)
OKLCHoklch(0.63 0.12 312.46)
CMYKcmyk(14.74% 40.53% 0% 25.49%)
Android#ffa271be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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