Skip to content
Vectorlight.net

#875eca

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

HEX
#875eca
RGB
135, 94, 202
HSL
262.78°, 50.47%, 58.04%
OKLCH
0.58 0.16 298.71
Names
—
Lists

Codes

FormatValue
HEX#875eca
RGBrgb(135 94 202)
HSLhsl(262.78 50.47% 58.04%)
OKLCHoklch(0.58 0.16 298.71)
CMYKcmyk(33.17% 53.47% 0% 20.78%)
Android#ff875eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #875eca;
background-color: #875eca;
bg-[#875eca]