#A28BFE Color

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

Color preview

#A28BFE

Color formats

HEX
#A28BFE
RGB
rgb(162, 139, 254)
RGBA
rgba(162, 139, 254, 1)
HSL
hsl(252, 98%, 77%)
HSV
hsv(252, 45%, 100%)
CMYK
cmyk(36%, 45%, 0%, 0%)
CSS variable
--color-primary: #A28BFE;
Lowercase HEX
#a28bfe

Shades

Tints

Tones

Harmony

CSS snippets for #A28BFE

.color-a28bfe {
  color: #A28BFE;
  background-color: #A28BFE;
}

Frequently asked questions

What color is #A28BFE?+

#A28BFE is a HEX color with RGB value rgb(162, 139, 254) and HSL value hsl(252, 98%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A28BFE?+

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