Skip to content
Vectorlight.net

#a815bc

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

HEX
#a815bc
RGB
168, 21, 188
HSL
292.81°, 79.9%, 40.98%
OKLCH
0.53 0.24 322.16
Names
—
Lists

Codes

FormatValue
HEX#a815bc
RGBrgb(168 21 188)
HSLhsl(292.81 79.9% 40.98%)
OKLCHoklch(0.53 0.24 322.16)
CMYKcmyk(10.64% 88.83% 0% 26.27%)
Android#ffa815bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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