#A28BEF Color

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

Color preview

#A28BEF

Color formats

HEX
#A28BEF
RGB
rgb(162, 139, 239)
RGBA
rgba(162, 139, 239, 1)
HSL
hsl(254, 76%, 74%)
HSV
hsv(254, 42%, 94%)
CMYK
cmyk(32%, 42%, 0%, 6%)
CSS variable
--color-primary: #A28BEF;
Lowercase HEX
#a28bef

Shades

Tints

Tones

Harmony

CSS snippets for #A28BEF

.color-a28bef {
  color: #A28BEF;
  background-color: #A28BEF;
}

Frequently asked questions

What color is #A28BEF?+

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

What is the closest Tailwind color to #A28BEF?+

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