#9871FD Color

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

Color preview

#9871FD

Color formats

HEX
#9871FD
RGB
rgb(152, 113, 253)
RGBA
rgba(152, 113, 253, 1)
HSL
hsl(257, 97%, 72%)
HSV
hsv(257, 55%, 99%)
CMYK
cmyk(40%, 55%, 0%, 1%)
CSS variable
--color-primary: #9871FD;
Lowercase HEX
#9871fd

Shades

Tints

Tones

Harmony

CSS snippets for #9871FD

.color-9871fd {
  color: #9871FD;
  background-color: #9871FD;
}

Frequently asked questions

What color is #9871FD?+

#9871FD is a HEX color with RGB value rgb(152, 113, 253) and HSL value hsl(257, 97%, 72%). Its closest CSS named color is MediumSlateBlue.

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

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