#A787F3 Color

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

Color preview

#A787F3

Color formats

HEX
#A787F3
RGB
rgb(167, 135, 243)
RGBA
rgba(167, 135, 243, 1)
HSL
hsl(258, 82%, 74%)
HSV
hsv(258, 44%, 95%)
CMYK
cmyk(31%, 44%, 0%, 5%)
CSS variable
--color-primary: #A787F3;
Lowercase HEX
#a787f3

Shades

Tints

Tones

Harmony

CSS snippets for #A787F3

.color-a787f3 {
  color: #A787F3;
  background-color: #A787F3;
}

Frequently asked questions

What color is #A787F3?+

#A787F3 is a HEX color with RGB value rgb(167, 135, 243) and HSL value hsl(258, 82%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A787F3?+

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