Skip to content
Vectorlight.net

#ba59cf

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

HEX
#ba59cf
RGB
186, 89, 207
HSL
289.32°, 55.14%, 58.04%
OKLCH
0.63 0.19 320.2
Names
—
Lists

Codes

FormatValue
HEX#ba59cf
RGBrgb(186 89 207)
HSLhsl(289.32 55.14% 58.04%)
OKLCHoklch(0.63 0.19 320.2)
CMYKcmyk(10.14% 57% 0% 18.82%)
Android#ffba59cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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