#A278FA Color

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

Color preview

#A278FA

Color formats

HEX
#A278FA
RGB
rgb(162, 120, 250)
RGBA
rgba(162, 120, 250, 1)
HSL
hsl(259, 93%, 73%)
HSV
hsv(259, 52%, 98%)
CMYK
cmyk(35%, 52%, 0%, 2%)
CSS variable
--color-primary: #A278FA;
Lowercase HEX
#a278fa

Shades

Tints

Tones

Harmony

CSS snippets for #A278FA

.color-a278fa {
  color: #A278FA;
  background-color: #A278FA;
}

Frequently asked questions

What color is #A278FA?+

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

What is the closest Tailwind color to #A278FA?+

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