Skip to content
Vectorlight.net

#873eee

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

HEX
#873eee
RGB
135, 62, 238
HSL
264.89°, 83.81%, 58.82%
OKLCH
0.56 0.24 296.38
Names
—
Lists

Codes

FormatValue
HEX#873eee
RGBrgb(135 62 238)
HSLhsl(264.89 83.81% 58.82%)
OKLCHoklch(0.56 0.24 296.38)
CMYKcmyk(43.28% 73.95% 0% 6.67%)
Android#ff873eee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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