#988DB2 Color

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

Color preview

#988DB2

Color formats

HEX
#988DB2
RGB
rgb(152, 141, 178)
RGBA
rgba(152, 141, 178, 1)
HSL
hsl(258, 19%, 63%)
HSV
hsv(258, 21%, 70%)
CMYK
cmyk(15%, 21%, 0%, 30%)
CSS variable
--color-primary: #988DB2;
Lowercase HEX
#988db2

Shades

Tints

Tones

Harmony

CSS snippets for #988DB2

.color-988db2 {
  color: #988DB2;
  background-color: #988DB2;
}

Frequently asked questions

What color is #988DB2?+

#988DB2 is a HEX color with RGB value rgb(152, 141, 178) and HSL value hsl(258, 19%, 63%). Its closest CSS named color is DarkGray.

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

The closest Tailwind color is gray-400, available as the bg-gray-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