Skip to content
Vectorlight.net

#ba60cc

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

HEX
#ba60cc
RGB
186, 96, 204
HSL
290°, 51.43%, 58.82%
OKLCH
0.64 0.18 320.73
Names
—
Lists

Codes

FormatValue
HEX#ba60cc
RGBrgb(186 96 204)
HSLhsl(290 51.43% 58.82%)
OKLCHoklch(0.64 0.18 320.73)
CMYKcmyk(8.82% 52.94% 0% 20%)
Android#ffba60cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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