#988CF2 Color

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

Color preview

#988CF2

Color formats

HEX
#988CF2
RGB
rgb(152, 140, 242)
RGBA
rgba(152, 140, 242, 1)
HSL
hsl(247, 80%, 75%)
HSV
hsv(247, 42%, 95%)
CMYK
cmyk(37%, 42%, 0%, 5%)
CSS variable
--color-primary: #988CF2;
Lowercase HEX
#988cf2

Shades

Tints

Tones

Harmony

CSS snippets for #988CF2

.color-988cf2 {
  color: #988CF2;
  background-color: #988CF2;
}

Frequently asked questions

What color is #988CF2?+

#988CF2 is a HEX color with RGB value rgb(152, 140, 242) and HSL value hsl(247, 80%, 75%). Its closest CSS named color is MediumPurple.

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

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