#A278FC Color

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

Color preview

#A278FC

Color formats

HEX
#A278FC
RGB
rgb(162, 120, 252)
RGBA
rgba(162, 120, 252, 1)
HSL
hsl(259, 96%, 73%)
HSV
hsv(259, 52%, 99%)
CMYK
cmyk(36%, 52%, 0%, 1%)
CSS variable
--color-primary: #A278FC;
Lowercase HEX
#a278fc

Shades

Tints

Tones

Harmony

CSS snippets for #A278FC

.color-a278fc {
  color: #A278FC;
  background-color: #A278FC;
}

Frequently asked questions

What color is #A278FC?+

#A278FC is a HEX color with RGB value rgb(162, 120, 252) and HSL value hsl(259, 96%, 73%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A278FC?+

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