#A878EB Color

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

Color preview

#A878EB

Color formats

HEX
#A878EB
RGB
rgb(168, 120, 235)
RGBA
rgba(168, 120, 235, 1)
HSL
hsl(265, 74%, 70%)
HSV
hsv(265, 49%, 92%)
CMYK
cmyk(29%, 49%, 0%, 8%)
CSS variable
--color-primary: #A878EB;
Lowercase HEX
#a878eb

Shades

Tints

Tones

Harmony

CSS snippets for #A878EB

.color-a878eb {
  color: #A878EB;
  background-color: #A878EB;
}

Frequently asked questions

What color is #A878EB?+

#A878EB is a HEX color with RGB value rgb(168, 120, 235) and HSL value hsl(265, 74%, 70%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A878EB?+

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