#7981F5 Color

Inspect #7981F5 across formats, palettes, contrast and closest named color matches.

Color preview

#7981F5

Color formats

HEX
#7981F5
RGB
rgb(121, 129, 245)
RGBA
rgba(121, 129, 245, 1)
HSL
hsl(236, 86%, 72%)
HSV
hsv(236, 51%, 96%)
CMYK
cmyk(51%, 47%, 0%, 4%)
CSS variable
--color-primary: #7981F5;
Lowercase HEX
#7981f5

Shades

Tints

Tones

Harmony

CSS snippets for #7981F5

.color-7981f5 {
  color: #7981F5;
  background-color: #7981F5;
}

Frequently asked questions

What color is #7981F5?+

#7981F5 is a HEX color with RGB value rgb(121, 129, 245) and HSL value hsl(236, 86%, 72%). Its closest CSS named color is MediumSlateBlue.

What is the closest Tailwind color to #7981F5?+

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