#BA98FE Color

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

Color preview

#BA98FE

Color formats

HEX
#BA98FE
RGB
rgb(186, 152, 254)
RGBA
rgba(186, 152, 254, 1)
HSL
hsl(260, 98%, 80%)
HSV
hsv(260, 40%, 100%)
CMYK
cmyk(27%, 40%, 0%, 0%)
CSS variable
--color-primary: #BA98FE;
Lowercase HEX
#ba98fe

Shades

Tints

Tones

Harmony

CSS snippets for #BA98FE

.color-ba98fe {
  color: #BA98FE;
  background-color: #BA98FE;
}

Frequently asked questions

What color is #BA98FE?+

#BA98FE is a HEX color with RGB value rgb(186, 152, 254) and HSL value hsl(260, 98%, 80%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #BA98FE?+

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