#BA40B2 Color

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

Color preview

#BA40B2

Color formats

HEX
#BA40B2
RGB
rgb(186, 64, 178)
RGBA
rgba(186, 64, 178, 1)
HSL
hsl(304, 49%, 49%)
HSV
hsv(304, 66%, 73%)
CMYK
cmyk(0%, 66%, 4%, 27%)
CSS variable
--color-primary: #BA40B2;
Lowercase HEX
#ba40b2

Shades

Tints

Tones

Harmony

CSS snippets for #BA40B2

.color-ba40b2 {
  color: #BA40B2;
  background-color: #BA40B2;
}

Frequently asked questions

What color is #BA40B2?+

#BA40B2 is a HEX color with RGB value rgb(186, 64, 178) and HSL value hsl(304, 49%, 49%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #BA40B2?+

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