#988EEB Color

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

Color preview

#988EEB

Color formats

HEX
#988EEB
RGB
rgb(152, 142, 235)
RGBA
rgba(152, 142, 235, 1)
HSL
hsl(246, 70%, 74%)
HSV
hsv(246, 40%, 92%)
CMYK
cmyk(35%, 40%, 0%, 8%)
CSS variable
--color-primary: #988EEB;
Lowercase HEX
#988eeb

Shades

Tints

Tones

Harmony

CSS snippets for #988EEB

.color-988eeb {
  color: #988EEB;
  background-color: #988EEB;
}

Frequently asked questions

What color is #988EEB?+

#988EEB is a HEX color with RGB value rgb(152, 142, 235) and HSL value hsl(246, 70%, 74%). Its closest CSS named color is MediumPurple.

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

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