#9898DC Color

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

Color preview

#9898DC

Color formats

HEX
#9898DC
RGB
rgb(152, 152, 220)
RGBA
rgba(152, 152, 220, 1)
HSL
hsl(240, 49%, 73%)
HSV
hsv(240, 31%, 86%)
CMYK
cmyk(31%, 31%, 0%, 14%)
CSS variable
--color-primary: #9898DC;
Lowercase HEX
#9898dc

Shades

Tints

Tones

Harmony

CSS snippets for #9898DC

.color-9898dc {
  color: #9898DC;
  background-color: #9898DC;
}

Frequently asked questions

What color is #9898DC?+

#9898DC is a HEX color with RGB value rgb(152, 152, 220) and HSL value hsl(240, 49%, 73%). Its closest CSS named color is MediumPurple.

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

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