Skip to content
Vectorlight.net

#a281dc

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

HEX
#a281dc
RGB
162, 129, 220
HSL
261.76°, 56.52%, 68.43%
OKLCH
0.67 0.13 299.48
Names
—
Lists

Codes

FormatValue
HEX#a281dc
RGBrgb(162 129 220)
HSLhsl(261.76 56.52% 68.43%)
OKLCHoklch(0.67 0.13 299.48)
CMYKcmyk(26.36% 41.36% 0% 13.73%)
Android#ffa281dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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