Skip to content
Vectorlight.net

#ba86cb

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

HEX
#ba86cb
RGB
186, 134, 203
HSL
285.22°, 39.88%, 66.08%
OKLCH
0.7 0.11 317.61
Names
—
Lists

Codes

FormatValue
HEX#ba86cb
RGBrgb(186 134 203)
HSLhsl(285.22 39.88% 66.08%)
OKLCHoklch(0.7 0.11 317.61)
CMYKcmyk(8.37% 33.99% 0% 20.39%)
Android#ffba86cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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