#B40CBA Color

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

Color preview

#B40CBA

Color formats

HEX
#B40CBA
RGB
rgb(180, 12, 186)
RGBA
rgba(180, 12, 186, 1)
HSL
hsl(298, 88%, 39%)
HSV
hsv(298, 94%, 73%)
CMYK
cmyk(3%, 94%, 0%, 27%)
CSS variable
--color-primary: #B40CBA;
Lowercase HEX
#b40cba

Shades

Tints

Tones

Harmony

CSS snippets for #B40CBA

.color-b40cba {
  color: #B40CBA;
  background-color: #B40CBA;
}

Frequently asked questions

What color is #B40CBA?+

#B40CBA is a HEX color with RGB value rgb(180, 12, 186) and HSL value hsl(298, 88%, 39%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #B40CBA?+

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