#A787FF Color

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

Color preview

#A787FF

Color formats

HEX
#A787FF
RGB
rgb(167, 135, 255)
RGBA
rgba(167, 135, 255, 1)
HSL
hsl(256, 100%, 76%)
HSV
hsv(256, 47%, 100%)
CMYK
cmyk(35%, 47%, 0%, 0%)
CSS variable
--color-primary: #A787FF;
Lowercase HEX
#a787ff

Shades

Tints

Tones

Harmony

CSS snippets for #A787FF

.color-a787ff {
  color: #A787FF;
  background-color: #A787FF;
}

Frequently asked questions

What color is #A787FF?+

#A787FF is a HEX color with RGB value rgb(167, 135, 255) and HSL value hsl(256, 100%, 76%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A787FF?+

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