#988FFA Color

Inspect #988FFA across formats, palettes, contrast and closest named color matches.

Color preview

#988FFA

Color formats

HEX
#988FFA
RGB
rgb(152, 143, 250)
RGBA
rgba(152, 143, 250, 1)
HSL
hsl(245, 91%, 77%)
HSV
hsv(245, 43%, 98%)
CMYK
cmyk(39%, 43%, 0%, 2%)
CSS variable
--color-primary: #988FFA;
Lowercase HEX
#988ffa

Shades

Tints

Tones

Harmony

CSS snippets for #988FFA

.color-988ffa {
  color: #988FFA;
  background-color: #988FFA;
}

Frequently asked questions

What color is #988FFA?+

#988FFA is a HEX color with RGB value rgb(152, 143, 250) and HSL value hsl(245, 91%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #988FFA?+

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