#7F5A8C Color

Inspect #7F5A8C across formats, palettes, contrast and closest named color matches.

Color preview

#7F5A8C

Color formats

HEX
#7F5A8C
RGB
rgb(127, 90, 140)
RGBA
rgba(127, 90, 140, 1)
HSL
hsl(284, 22%, 45%)
HSV
hsv(284, 36%, 55%)
CMYK
cmyk(9%, 36%, 0%, 45%)
CSS variable
--color-primary: #7F5A8C;
Lowercase HEX
#7f5a8c

Shades

Tints

Tones

Harmony

CSS snippets for #7F5A8C

.color-7f5a8c {
  color: #7F5A8C;
  background-color: #7F5A8C;
}

Frequently asked questions

What color is #7F5A8C?+

#7F5A8C is a HEX color with RGB value rgb(127, 90, 140) and HSL value hsl(284, 22%, 45%). Its closest CSS named color is Gray.

What is the closest Tailwind color to #7F5A8C?+

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