#BA40B8 Color

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

Color preview

#BA40B8

Color formats

HEX
#BA40B8
RGB
rgb(186, 64, 184)
RGBA
rgba(186, 64, 184, 1)
HSL
hsl(301, 49%, 49%)
HSV
hsv(301, 66%, 73%)
CMYK
cmyk(0%, 66%, 1%, 27%)
CSS variable
--color-primary: #BA40B8;
Lowercase HEX
#ba40b8

Shades

Tints

Tones

Harmony

CSS snippets for #BA40B8

.color-ba40b8 {
  color: #BA40B8;
  background-color: #BA40B8;
}

Frequently asked questions

What color is #BA40B8?+

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

What is the closest Tailwind color to #BA40B8?+

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