Skip to content
Vectorlight.net

#a291cd

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

HEX
#a291cd
RGB
162, 145, 205
HSL
257°, 37.5%, 68.63%
OKLCH
0.69 0.09 297.05
Names
—
Lists

Codes

FormatValue
HEX#a291cd
RGBrgb(162 145 205)
HSLhsl(257 37.5% 68.63%)
OKLCHoklch(0.69 0.09 297.05)
CMYKcmyk(20.98% 29.27% 0% 19.61%)
Android#ffa291cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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