#BA20E4 Color

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

Color preview

#BA20E4

Color formats

HEX
#BA20E4
RGB
rgb(186, 32, 228)
RGBA
rgba(186, 32, 228, 1)
HSL
hsl(287, 78%, 51%)
HSV
hsv(287, 86%, 89%)
CMYK
cmyk(18%, 86%, 0%, 11%)
CSS variable
--color-primary: #BA20E4;
Lowercase HEX
#ba20e4

Shades

Tints

Tones

Harmony

CSS snippets for #BA20E4

.color-ba20e4 {
  color: #BA20E4;
  background-color: #BA20E4;
}

Frequently asked questions

What color is #BA20E4?+

#BA20E4 is a HEX color with RGB value rgb(186, 32, 228) and HSL value hsl(287, 78%, 51%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #BA20E4?+

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