Skip to content
Vectorlight.net

#873ca4

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

HEX
#873ca4
RGB
135, 60, 164
HSL
283.27°, 46.43%, 43.92%
OKLCH
0.5 0.17 315.32
Names
—
Lists

Codes

FormatValue
HEX#873ca4
RGBrgb(135 60 164)
HSLhsl(283.27 46.43% 43.92%)
OKLCHoklch(0.5 0.17 315.32)
CMYKcmyk(17.68% 63.41% 0% 35.69%)
Android#ff873ca4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #873ca4;
background-color: #873ca4;
bg-[#873ca4]