#BA40B3 Color

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

Color preview

#BA40B3

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #BA40B3

.color-ba40b3 {
  color: #BA40B3;
  background-color: #BA40B3;
}

Frequently asked questions

What color is #BA40B3?+

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

What is the closest Tailwind color to #BA40B3?+

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