Skip to content
Vectorlight.net

#ba3cda

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

HEX
#ba3cda
RGB
186, 60, 218
HSL
287.85°, 68.1%, 54.51%
OKLCH
0.6 0.24 318.58
Names
—
Lists

Codes

FormatValue
HEX#ba3cda
RGBrgb(186 60 218)
HSLhsl(287.85 68.1% 54.51%)
OKLCHoklch(0.6 0.24 318.58)
CMYKcmyk(14.68% 72.48% 0% 14.51%)
Android#ffba3cda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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