Skip to content
Vectorlight.net

#a870bc

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

HEX
#a870bc
RGB
168, 112, 188
HSL
284.21°, 36.19%, 58.82%
OKLCH
0.63 0.13 316.81
Names
—
Lists

Codes

FormatValue
HEX#a870bc
RGBrgb(168 112 188)
HSLhsl(284.21 36.19% 58.82%)
OKLCHoklch(0.63 0.13 316.81)
CMYKcmyk(10.64% 40.43% 0% 26.27%)
Android#ffa870bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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