Skip to content
Vectorlight.net

#ba58cc

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

HEX
#ba58cc
RGB
186, 88, 204
HSL
290.69°, 53.21%, 57.25%
OKLCH
0.63 0.19 321.2
Names
—
Lists

Codes

FormatValue
HEX#ba58cc
RGBrgb(186 88 204)
HSLhsl(290.69 53.21% 57.25%)
OKLCHoklch(0.63 0.19 321.2)
CMYKcmyk(8.82% 56.86% 0% 20%)
Android#ffba58cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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