#A878D9 Color

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

Color preview

#A878D9

Color formats

HEX
#A878D9
RGB
rgb(168, 120, 217)
RGBA
rgba(168, 120, 217, 1)
HSL
hsl(270, 56%, 66%)
HSV
hsv(270, 45%, 85%)
CMYK
cmyk(23%, 45%, 0%, 15%)
CSS variable
--color-primary: #A878D9;
Lowercase HEX
#a878d9

Shades

Tints

Tones

Harmony

CSS snippets for #A878D9

.color-a878d9 {
  color: #A878D9;
  background-color: #A878D9;
}

Frequently asked questions

What color is #A878D9?+

#A878D9 is a HEX color with RGB value rgb(168, 120, 217) and HSL value hsl(270, 56%, 66%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A878D9?+

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