#BA97F2 Color

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

Color preview

#BA97F2

Color formats

HEX
#BA97F2
RGB
rgb(186, 151, 242)
RGBA
rgba(186, 151, 242, 1)
HSL
hsl(263, 78%, 77%)
HSV
hsv(263, 38%, 95%)
CMYK
cmyk(23%, 38%, 0%, 5%)
CSS variable
--color-primary: #BA97F2;
Lowercase HEX
#ba97f2

Shades

Tints

Tones

Harmony

CSS snippets for #BA97F2

.color-ba97f2 {
  color: #BA97F2;
  background-color: #BA97F2;
}

Frequently asked questions

What color is #BA97F2?+

#BA97F2 is a HEX color with RGB value rgb(186, 151, 242) and HSL value hsl(263, 78%, 77%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #BA97F2?+

The closest Tailwind color is purple-400, available as the bg-purple-400 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