#A878DF Color

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

Color preview

#A878DF

Color formats

HEX
#A878DF
RGB
rgb(168, 120, 223)
RGBA
rgba(168, 120, 223, 1)
HSL
hsl(268, 62%, 67%)
HSV
hsv(268, 46%, 87%)
CMYK
cmyk(25%, 46%, 0%, 13%)
CSS variable
--color-primary: #A878DF;
Lowercase HEX
#a878df

Shades

Tints

Tones

Harmony

CSS snippets for #A878DF

.color-a878df {
  color: #A878DF;
  background-color: #A878DF;
}

Frequently asked questions

What color is #A878DF?+

#A878DF is a HEX color with RGB value rgb(168, 120, 223) and HSL value hsl(268, 62%, 67%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A878DF?+

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