#A787E2 Color

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

Color preview

#A787E2

Color formats

HEX
#A787E2
RGB
rgb(167, 135, 226)
RGBA
rgba(167, 135, 226, 1)
HSL
hsl(261, 61%, 71%)
HSV
hsv(261, 40%, 89%)
CMYK
cmyk(26%, 40%, 0%, 11%)
CSS variable
--color-primary: #A787E2;
Lowercase HEX
#a787e2

Shades

Tints

Tones

Harmony

CSS snippets for #A787E2

.color-a787e2 {
  color: #A787E2;
  background-color: #A787E2;
}

Frequently asked questions

What color is #A787E2?+

#A787E2 is a HEX color with RGB value rgb(167, 135, 226) and HSL value hsl(261, 61%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A787E2?+

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