Skip to content
Vectorlight.net

#873dbd

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

HEX
#873dbd
RGB
135, 61, 189
HSL
274.69°, 51.2%, 49.02%
OKLCH
0.52 0.19 307.42
Names
—
Lists

Codes

FormatValue
HEX#873dbd
RGBrgb(135 61 189)
HSLhsl(274.69 51.2% 49.02%)
OKLCHoklch(0.52 0.19 307.42)
CMYKcmyk(28.57% 67.72% 0% 25.88%)
Android#ff873dbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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