#BA02C4 Color

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

Color preview

#BA02C4

Color formats

HEX
#BA02C4
RGB
rgb(186, 2, 196)
RGBA
rgba(186, 2, 196, 1)
HSL
hsl(297, 98%, 39%)
HSV
hsv(297, 99%, 77%)
CMYK
cmyk(5%, 99%, 0%, 23%)
CSS variable
--color-primary: #BA02C4;
Lowercase HEX
#ba02c4

Shades

Tints

Tones

Harmony

CSS snippets for #BA02C4

.color-ba02c4 {
  color: #BA02C4;
  background-color: #BA02C4;
}

Frequently asked questions

What color is #BA02C4?+

#BA02C4 is a HEX color with RGB value rgb(186, 2, 196) and HSL value hsl(297, 98%, 39%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #BA02C4?+

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