#9871F9 Color

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

Color preview

#9871F9

Color formats

HEX
#9871F9
RGB
rgb(152, 113, 249)
RGBA
rgba(152, 113, 249, 1)
HSL
hsl(257, 92%, 71%)
HSV
hsv(257, 55%, 98%)
CMYK
cmyk(39%, 55%, 0%, 2%)
CSS variable
--color-primary: #9871F9;
Lowercase HEX
#9871f9

Shades

Tints

Tones

Harmony

CSS snippets for #9871F9

.color-9871f9 {
  color: #9871F9;
  background-color: #9871F9;
}

Frequently asked questions

What color is #9871F9?+

#9871F9 is a HEX color with RGB value rgb(152, 113, 249) and HSL value hsl(257, 92%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9871F9?+

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