Skip to content
Vectorlight.net

#b878ec

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

HEX
#b878ec
RGB
184, 120, 236
HSL
273.1°, 75.32%, 69.8%
OKLCH
0.69 0.17 307.92
Names
—
Lists

Codes

FormatValue
HEX#b878ec
RGBrgb(184 120 236)
HSLhsl(273.1 75.32% 69.8%)
OKLCHoklch(0.69 0.17 307.92)
CMYKcmyk(22.03% 49.15% 0% 7.45%)
Android#ffb878ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #b878ec;
background-color: #b878ec;
bg-[#b878ec]