#9898FA Color

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

Color preview

#9898FA

Color formats

HEX
#9898FA
RGB
rgb(152, 152, 250)
RGBA
rgba(152, 152, 250, 1)
HSL
hsl(240, 91%, 79%)
HSV
hsv(240, 39%, 98%)
CMYK
cmyk(39%, 39%, 0%, 2%)
CSS variable
--color-primary: #9898FA;
Lowercase HEX
#9898fa

Shades

Tints

Tones

Harmony

CSS snippets for #9898FA

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

Frequently asked questions

What color is #9898FA?+

#9898FA is a HEX color with RGB value rgb(152, 152, 250) and HSL value hsl(240, 91%, 79%). Its closest CSS named color is MediumPurple.

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

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