#9898EB Color

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

Color preview

#9898EB

Color formats

HEX
#9898EB
RGB
rgb(152, 152, 235)
RGBA
rgba(152, 152, 235, 1)
HSL
hsl(240, 67%, 76%)
HSV
hsv(240, 35%, 92%)
CMYK
cmyk(35%, 35%, 0%, 8%)
CSS variable
--color-primary: #9898EB;
Lowercase HEX
#9898eb

Shades

Tints

Tones

Harmony

CSS snippets for #9898EB

.color-9898eb {
  color: #9898EB;
  background-color: #9898EB;
}

Frequently asked questions

What color is #9898EB?+

#9898EB is a HEX color with RGB value rgb(152, 152, 235) and HSL value hsl(240, 67%, 76%). Its closest CSS named color is MediumPurple.

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

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