#BA12F3 Color

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

Color preview

#BA12F3

Color formats

HEX
#BA12F3
RGB
rgb(186, 18, 243)
RGBA
rgba(186, 18, 243, 1)
HSL
hsl(285, 90%, 51%)
HSV
hsv(285, 93%, 95%)
CMYK
cmyk(23%, 93%, 0%, 5%)
CSS variable
--color-primary: #BA12F3;
Lowercase HEX
#ba12f3

Shades

Tints

Tones

Harmony

CSS snippets for #BA12F3

.color-ba12f3 {
  color: #BA12F3;
  background-color: #BA12F3;
}

Frequently asked questions

What color is #BA12F3?+

#BA12F3 is a HEX color with RGB value rgb(186, 18, 243) and HSL value hsl(285, 90%, 51%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #BA12F3?+

The closest Tailwind color is fuchsia-600, available as the bg-fuchsia-600 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