#A28EFB Color

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

Color preview

#A28EFB

Color formats

HEX
#A28EFB
RGB
rgb(162, 142, 251)
RGBA
rgba(162, 142, 251, 1)
HSL
hsl(251, 93%, 77%)
HSV
hsv(251, 43%, 98%)
CMYK
cmyk(35%, 43%, 0%, 2%)
CSS variable
--color-primary: #A28EFB;
Lowercase HEX
#a28efb

Shades

Tints

Tones

Harmony

CSS snippets for #A28EFB

.color-a28efb {
  color: #A28EFB;
  background-color: #A28EFB;
}

Frequently asked questions

What color is #A28EFB?+

#A28EFB is a HEX color with RGB value rgb(162, 142, 251) and HSL value hsl(251, 93%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A28EFB?+

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