#A28DF5 Color

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

Color preview

#A28DF5

Color formats

HEX
#A28DF5
RGB
rgb(162, 141, 245)
RGBA
rgba(162, 141, 245, 1)
HSL
hsl(252, 84%, 76%)
HSV
hsv(252, 42%, 96%)
CMYK
cmyk(34%, 42%, 0%, 4%)
CSS variable
--color-primary: #A28DF5;
Lowercase HEX
#a28df5

Shades

Tints

Tones

Harmony

CSS snippets for #A28DF5

.color-a28df5 {
  color: #A28DF5;
  background-color: #A28DF5;
}

Frequently asked questions

What color is #A28DF5?+

#A28DF5 is a HEX color with RGB value rgb(162, 141, 245) and HSL value hsl(252, 84%, 76%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A28DF5?+

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