#BA27A6 Color

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

Color preview

#BA27A6

Color formats

HEX
#BA27A6
RGB
rgb(186, 39, 166)
RGBA
rgba(186, 39, 166, 1)
HSL
hsl(308, 65%, 44%)
HSV
hsv(308, 79%, 73%)
CMYK
cmyk(0%, 79%, 11%, 27%)
CSS variable
--color-primary: #BA27A6;
Lowercase HEX
#ba27a6

Shades

Tints

Tones

Harmony

CSS snippets for #BA27A6

.color-ba27a6 {
  color: #BA27A6;
  background-color: #BA27A6;
}

Frequently asked questions

What color is #BA27A6?+

#BA27A6 is a HEX color with RGB value rgb(186, 39, 166) and HSL value hsl(308, 65%, 44%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #BA27A6?+

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