#9852FA Color

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

Color preview

#9852FA

Color formats

HEX
#9852FA
RGB
rgb(152, 82, 250)
RGBA
rgba(152, 82, 250, 1)
HSL
hsl(265, 94%, 65%)
HSV
hsv(265, 67%, 98%)
CMYK
cmyk(39%, 67%, 0%, 2%)
CSS variable
--color-primary: #9852FA;
Lowercase HEX
#9852fa

Shades

Tints

Tones

Harmony

CSS snippets for #9852FA

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

Frequently asked questions

What color is #9852FA?+

#9852FA is a HEX color with RGB value rgb(152, 82, 250) and HSL value hsl(265, 94%, 65%). Its closest CSS named color is MediumSlateBlue.

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

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