Skip to content
Vectorlight.net

#ba87ce

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

HEX
#ba87ce
RGB
186, 135, 206
HSL
283.1°, 42.01%, 66.86%
OKLCH
0.7 0.12 316.16
Names
—
Lists

Codes

FormatValue
HEX#ba87ce
RGBrgb(186 135 206)
HSLhsl(283.1 42.01% 66.86%)
OKLCHoklch(0.7 0.12 316.16)
CMYKcmyk(9.71% 34.47% 0% 19.22%)
Android#ffba87ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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