#9898F2 Color

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

Color preview

#9898F2

Color formats

HEX
#9898F2
RGB
rgb(152, 152, 242)
RGBA
rgba(152, 152, 242, 1)
HSL
hsl(240, 78%, 77%)
HSV
hsv(240, 37%, 95%)
CMYK
cmyk(37%, 37%, 0%, 5%)
CSS variable
--color-primary: #9898F2;
Lowercase HEX
#9898f2

Shades

Tints

Tones

Harmony

CSS snippets for #9898F2

.color-9898f2 {
  color: #9898F2;
  background-color: #9898F2;
}

Frequently asked questions

What color is #9898F2?+

#9898F2 is a HEX color with RGB value rgb(152, 152, 242) and HSL value hsl(240, 78%, 77%). Its closest CSS named color is MediumPurple.

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

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