Skip to content
Vectorlight.net

#873bbf

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

HEX
#873bbf
RGB
135, 59, 191
HSL
274.55°, 52.8%, 49.02%
OKLCH
0.52 0.2 307.1
Names
—
Lists

Codes

FormatValue
HEX#873bbf
RGBrgb(135 59 191)
HSLhsl(274.55 52.8% 49.02%)
OKLCHoklch(0.52 0.2 307.1)
CMYKcmyk(29.32% 69.11% 0% 25.1%)
Android#ff873bbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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