#BA12BA Color

Inspect #BA12BA across formats, palettes, contrast and closest named color matches.

Color preview

#BA12BA

Color formats

HEX
#BA12BA
RGB
rgb(186, 18, 186)
RGBA
rgba(186, 18, 186, 1)
HSL
hsl(300, 82%, 40%)
HSV
hsv(300, 90%, 73%)
CMYK
cmyk(0%, 90%, 0%, 27%)
CSS variable
--color-primary: #BA12BA;
Lowercase HEX
#ba12ba

Shades

Tints

Tones

Harmony

CSS snippets for #BA12BA

.color-ba12ba {
  color: #BA12BA;
  background-color: #BA12BA;
}

Frequently asked questions

What color is #BA12BA?+

#BA12BA is a HEX color with RGB value rgb(186, 18, 186) and HSL value hsl(300, 82%, 40%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #BA12BA?+

The closest Tailwind color is fuchsia-700, available as the bg-fuchsia-700 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools