#A28BEE Color

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

Color preview

#A28BEE

Color formats

HEX
#A28BEE
RGB
rgb(162, 139, 238)
RGBA
rgba(162, 139, 238, 1)
HSL
hsl(254, 74%, 74%)
HSV
hsv(254, 42%, 93%)
CMYK
cmyk(32%, 42%, 0%, 7%)
CSS variable
--color-primary: #A28BEE;
Lowercase HEX
#a28bee

Shades

Tints

Tones

Harmony

CSS snippets for #A28BEE

.color-a28bee {
  color: #A28BEE;
  background-color: #A28BEE;
}

Frequently asked questions

What color is #A28BEE?+

#A28BEE is a HEX color with RGB value rgb(162, 139, 238) and HSL value hsl(254, 74%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A28BEE?+

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