#A787DB Color

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

Color preview

#A787DB

Color formats

HEX
#A787DB
RGB
rgb(167, 135, 219)
RGBA
rgba(167, 135, 219, 1)
HSL
hsl(263, 54%, 69%)
HSV
hsv(263, 38%, 86%)
CMYK
cmyk(24%, 38%, 0%, 14%)
CSS variable
--color-primary: #A787DB;
Lowercase HEX
#a787db

Shades

Tints

Tones

Harmony

CSS snippets for #A787DB

.color-a787db {
  color: #A787DB;
  background-color: #A787DB;
}

Frequently asked questions

What color is #A787DB?+

#A787DB is a HEX color with RGB value rgb(167, 135, 219) and HSL value hsl(263, 54%, 69%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A787DB?+

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