Skip to content
Vectorlight.net

#a940cb

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

HEX
#a940cb
RGB
169, 64, 203
HSL
285.32°, 57.2%, 52.35%
OKLCH
0.57 0.22 316.69
Names
—
Lists

Codes

FormatValue
HEX#a940cb
RGBrgb(169 64 203)
HSLhsl(285.32 57.2% 52.35%)
OKLCHoklch(0.57 0.22 316.69)
CMYKcmyk(16.75% 68.47% 0% 20.39%)
Android#ffa940cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.28:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a940cb"
Gradient stop
<stop stop-color="#a940cb"/>
CSS variable + fill
:root { --c: #a940cb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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