#7987C6 Color

Inspect #7987C6 across formats, palettes, contrast and closest named color matches.

Color preview

#7987C6

Color formats

HEX
#7987C6
RGB
rgb(121, 135, 198)
RGBA
rgba(121, 135, 198, 1)
HSL
hsl(229, 40%, 63%)
HSV
hsv(229, 39%, 78%)
CMYK
cmyk(39%, 32%, 0%, 22%)
CSS variable
--color-primary: #7987C6;
Lowercase HEX
#7987c6

Shades

Tints

Tones

Harmony

CSS snippets for #7987C6

.color-7987c6 {
  color: #7987C6;
  background-color: #7987C6;
}

Frequently asked questions

What color is #7987C6?+

#7987C6 is a HEX color with RGB value rgb(121, 135, 198) and HSL value hsl(229, 40%, 63%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #7987C6?+

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