#9878FA Color

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

Color preview

#9878FA

Color formats

HEX
#9878FA
RGB
rgb(152, 120, 250)
RGBA
rgba(152, 120, 250, 1)
HSL
hsl(255, 93%, 73%)
HSV
hsv(255, 52%, 98%)
CMYK
cmyk(39%, 52%, 0%, 2%)
CSS variable
--color-primary: #9878FA;
Lowercase HEX
#9878fa

Shades

Tints

Tones

Harmony

CSS snippets for #9878FA

.color-9878fa {
  color: #9878FA;
  background-color: #9878FA;
}

Frequently asked questions

What color is #9878FA?+

#9878FA is a HEX color with RGB value rgb(152, 120, 250) and HSL value hsl(255, 93%, 73%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9878FA?+

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