Skip to content
Vectorlight.net

#ba60cb

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

HEX
#ba60cb
RGB
186, 96, 203
HSL
290.47°, 50.71%, 58.63%
OKLCH
0.64 0.18 321.06
Names
—
Lists

Codes

FormatValue
HEX#ba60cb
RGBrgb(186 96 203)
HSLhsl(290.47 50.71% 58.63%)
OKLCHoklch(0.64 0.18 321.06)
CMYKcmyk(8.37% 52.71% 0% 20.39%)
Android#ffba60cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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