Skip to content
Vectorlight.net

#a102af

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

HEX
#a102af
RGB
161, 2, 175
HSL
295.14°, 97.74%, 34.71%
OKLCH
0.51 0.24 323.93
Names
—
Lists

Codes

FormatValue
HEX#a102af
RGBrgb(161 2 175)
HSLhsl(295.14 97.74% 34.71%)
OKLCHoklch(0.51 0.24 323.93)
CMYKcmyk(8% 98.86% 0% 31.37%)
Android#ffa102af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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