#A787B1 Color

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

Color preview

#A787B1

Color formats

HEX
#A787B1
RGB
rgb(167, 135, 177)
RGBA
rgba(167, 135, 177, 1)
HSL
hsl(286, 21%, 61%)
HSV
hsv(286, 24%, 69%)
CMYK
cmyk(6%, 24%, 0%, 31%)
CSS variable
--color-primary: #A787B1;
Lowercase HEX
#a787b1

Shades

Tints

Tones

Harmony

CSS snippets for #A787B1

.color-a787b1 {
  color: #A787B1;
  background-color: #A787B1;
}

Frequently asked questions

What color is #A787B1?+

#A787B1 is a HEX color with RGB value rgb(167, 135, 177) and HSL value hsl(286, 21%, 61%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #A787B1?+

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