#A787CA Color

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

Color preview

#A787CA

Color formats

HEX
#A787CA
RGB
rgb(167, 135, 202)
RGBA
rgba(167, 135, 202, 1)
HSL
hsl(269, 39%, 66%)
HSV
hsv(269, 33%, 79%)
CMYK
cmyk(17%, 33%, 0%, 21%)
CSS variable
--color-primary: #A787CA;
Lowercase HEX
#a787ca

Shades

Tints

Tones

Harmony

CSS snippets for #A787CA

.color-a787ca {
  color: #A787CA;
  background-color: #A787CA;
}

Frequently asked questions

What color is #A787CA?+

#A787CA is a HEX color with RGB value rgb(167, 135, 202) and HSL value hsl(269, 39%, 66%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A787CA?+

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