#A787EB Color

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

Color preview

#A787EB

Color formats

HEX
#A787EB
RGB
rgb(167, 135, 235)
RGBA
rgba(167, 135, 235, 1)
HSL
hsl(259, 71%, 73%)
HSV
hsv(259, 43%, 92%)
CMYK
cmyk(29%, 43%, 0%, 8%)
CSS variable
--color-primary: #A787EB;
Lowercase HEX
#a787eb

Shades

Tints

Tones

Harmony

CSS snippets for #A787EB

.color-a787eb {
  color: #A787EB;
  background-color: #A787EB;
}

Frequently asked questions

What color is #A787EB?+

#A787EB is a HEX color with RGB value rgb(167, 135, 235) and HSL value hsl(259, 71%, 73%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A787EB?+

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