#9879FF Color

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

Color preview

#9879FF

Color formats

HEX
#9879FF
RGB
rgb(152, 121, 255)
RGBA
rgba(152, 121, 255, 1)
HSL
hsl(254, 100%, 74%)
HSV
hsv(254, 53%, 100%)
CMYK
cmyk(40%, 53%, 0%, 0%)
CSS variable
--color-primary: #9879FF;
Lowercase HEX
#9879ff

Shades

Tints

Tones

Harmony

CSS snippets for #9879FF

.color-9879ff {
  color: #9879FF;
  background-color: #9879FF;
}

Frequently asked questions

What color is #9879FF?+

#9879FF is a HEX color with RGB value rgb(152, 121, 255) and HSL value hsl(254, 100%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9879FF?+

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