#998EFA Color

Inspect #998EFA across formats, palettes, contrast and closest named color matches.

Color preview

#998EFA

Color formats

HEX
#998EFA
RGB
rgb(153, 142, 250)
RGBA
rgba(153, 142, 250, 1)
HSL
hsl(246, 92%, 77%)
HSV
hsv(246, 43%, 98%)
CMYK
cmyk(39%, 43%, 0%, 2%)
CSS variable
--color-primary: #998EFA;
Lowercase HEX
#998efa

Shades

Tints

Tones

Harmony

CSS snippets for #998EFA

.color-998efa {
  color: #998EFA;
  background-color: #998EFA;
}

Frequently asked questions

What color is #998EFA?+

#998EFA is a HEX color with RGB value rgb(153, 142, 250) and HSL value hsl(246, 92%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #998EFA?+

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