Skip to content
Kolorvia
#ba2ad4

Color #ba2ad4

A moderately saturated medium magenta.

Conversions

HEX
#ba2ad4
RGB
rgb(186, 42, 212)
HSL
hsl(290.8, 66.9%, 49.8%)
HSV / HSB
hsv(290.8, 80.2%, 83.1%)
CMYK
cmyk(12.3%, 80.2%, 0%, 16.9%)
LAB
lab(48.07, 75.11, -56.88)
LCH
lch(48.07, 94.22, 322.86)
OKLCH
oklch(58.6%, 0.2524, 320.77)
HWB
hwb(290.8, 16.5%, 16.9%)

Harmony colors

Complementary

#44d42a

Analogous

#652ad4
#ba2ad4
#d42a99

Triadic

#ba2ad4
#d4ba2a
#2ad4ba

Split-complementary

#ba2ad4
#99d42a
#2ad465

Tetradic

#ba2ad4
#d42a44
#44d42a
#2ad4ba

Square

#ba2ad4
#d4652a
#44d42a
#2a99d4

Shades

Color #ba2ad4 mixed toward black.

#9b23b1
#7c1c8d
#5d156a
#3e0e47
#1f0723

Tints

Color #ba2ad4 mixed toward white.

#c64ddc
#d171e3
#dd94ea
#e8b8f1
#f4dbf8

Tones

Color #ba2ad4 mixed toward gray.

#b038c6
#a646b8
#9c55a9
#93639b
#89718d

Accessibility

Aa White text on this color
4.81:1
Aa Black text on this color
4.37:1

White text reads better on this background (4.81:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#9291bc · ΔE 25.7

Deuteranopia

#98a0b6 · ΔE 29.7

Tritanopia

#b6a6a1 · ΔE 36.8

Achromatopsia

#727272 · ΔE 30.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #ba2ad4;
Tailwind (arbitrary value)
bg-[#ba2ad4]

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#ba2ad4 (#ba2ad4) is rgb(186, 42, 212) in RGB.

No, #ba2ad4 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #ba2ad4, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.