#BA12ED Color

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

Color preview

#BA12ED

Color formats

HEX
#BA12ED
RGB
rgb(186, 18, 237)
RGBA
rgba(186, 18, 237, 1)
HSL
hsl(286, 86%, 50%)
HSV
hsv(286, 92%, 93%)
CMYK
cmyk(22%, 92%, 0%, 7%)
CSS variable
--color-primary: #BA12ED;
Lowercase HEX
#ba12ed

Shades

Tints

Tones

Harmony

CSS snippets for #BA12ED

.color-ba12ed {
  color: #BA12ED;
  background-color: #BA12ED;
}

Frequently asked questions

What color is #BA12ED?+

#BA12ED is a HEX color with RGB value rgb(186, 18, 237) and HSL value hsl(286, 86%, 50%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #BA12ED?+

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