Skip to content
Vectorlight.net

#ba36d2

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

HEX
#ba36d2
RGB
186, 54, 210
HSL
290.77°, 63.41%, 51.76%
OKLCH
0.59 0.24 320.94
Names
—
Lists

Codes

FormatValue
HEX#ba36d2
RGBrgb(186 54 210)
HSLhsl(290.77 63.41% 51.76%)
OKLCHoklch(0.59 0.24 320.94)
CMYKcmyk(11.43% 74.29% 0% 17.65%)
Android#ffba36d2

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ba36d2"
Gradient stop
<stop stop-color="#ba36d2"/>
CSS variable + fill
:root { --c: #ba36d2; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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