#BA28E6 Color

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

Color preview

#BA28E6

Color formats

HEX
#BA28E6
RGB
rgb(186, 40, 230)
RGBA
rgba(186, 40, 230, 1)
HSL
hsl(286, 79%, 53%)
HSV
hsv(286, 83%, 90%)
CMYK
cmyk(19%, 83%, 0%, 10%)
CSS variable
--color-primary: #BA28E6;
Lowercase HEX
#ba28e6

Shades

Tints

Tones

Harmony

CSS snippets for #BA28E6

.color-ba28e6 {
  color: #BA28E6;
  background-color: #BA28E6;
}

Frequently asked questions

What color is #BA28E6?+

#BA28E6 is a HEX color with RGB value rgb(186, 40, 230) and HSL value hsl(286, 79%, 53%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #BA28E6?+

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