Skip to content
Vectorlight.net

#ba49dc

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

HEX
#ba49dc
RGB
186, 73, 220
HSL
286.12°, 67.74%, 57.45%
OKLCH
0.62 0.23 317.42
Names
—
Lists

Codes

FormatValue
HEX#ba49dc
RGBrgb(186 73 220)
HSLhsl(286.12 67.74% 57.45%)
OKLCHoklch(0.62 0.23 317.42)
CMYKcmyk(15.45% 66.82% 0% 13.73%)
Android#ffba49dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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