#BA45B2 Color

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

Color preview

#BA45B2

Color formats

HEX
#BA45B2
RGB
rgb(186, 69, 178)
RGBA
rgba(186, 69, 178, 1)
HSL
hsl(304, 46%, 50%)
HSV
hsv(304, 63%, 73%)
CMYK
cmyk(0%, 63%, 4%, 27%)
CSS variable
--color-primary: #BA45B2;
Lowercase HEX
#ba45b2

Shades

Tints

Tones

Harmony

CSS snippets for #BA45B2

.color-ba45b2 {
  color: #BA45B2;
  background-color: #BA45B2;
}

Frequently asked questions

What color is #BA45B2?+

#BA45B2 is a HEX color with RGB value rgb(186, 69, 178) and HSL value hsl(304, 46%, 50%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #BA45B2?+

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