Skip to content
Vectorlight.net

#878aea

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

HEX
#878aea
RGB
135, 138, 234
HSL
238.18°, 70.21%, 72.35%
OKLCH
0.67 0.14 280.56
Names
—
Lists

Codes

FormatValue
HEX#878aea
RGBrgb(135 138 234)
HSLhsl(238.18 70.21% 72.35%)
OKLCHoklch(0.67 0.14 280.56)
CMYKcmyk(42.31% 41.03% 0% 8.24%)
Android#ff878aea

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.85:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#878aea"
Gradient stop
<stop stop-color="#878aea"/>
CSS variable + fill
:root { --c: #878aea; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #878aea;
background-color: #878aea;
bg-[#878aea]