#7981CA Color

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

Color preview

#7981CA

Color formats

HEX
#7981CA
RGB
rgb(121, 129, 202)
RGBA
rgba(121, 129, 202, 1)
HSL
hsl(234, 43%, 63%)
HSV
hsv(234, 40%, 79%)
CMYK
cmyk(40%, 36%, 0%, 21%)
CSS variable
--color-primary: #7981CA;
Lowercase HEX
#7981ca

Shades

Tints

Tones

Harmony

CSS snippets for #7981CA

.color-7981ca {
  color: #7981CA;
  background-color: #7981CA;
}

Frequently asked questions

What color is #7981CA?+

#7981CA is a HEX color with RGB value rgb(121, 129, 202) and HSL value hsl(234, 43%, 63%). Its closest CSS named color is MediumPurple.

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

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