#B212BA Color

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

Color preview

#B212BA

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #B212BA

.color-b212ba {
  color: #B212BA;
  background-color: #B212BA;
}

Frequently asked questions

What color is #B212BA?+

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

What is the closest Tailwind color to #B212BA?+

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