#A28CFB Color

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

Color preview

#A28CFB

Color formats

HEX
#A28CFB
RGB
rgb(162, 140, 251)
RGBA
rgba(162, 140, 251, 1)
HSL
hsl(252, 93%, 77%)
HSV
hsv(252, 44%, 98%)
CMYK
cmyk(35%, 44%, 0%, 2%)
CSS variable
--color-primary: #A28CFB;
Lowercase HEX
#a28cfb

Shades

Tints

Tones

Harmony

CSS snippets for #A28CFB

.color-a28cfb {
  color: #A28CFB;
  background-color: #A28CFB;
}

Frequently asked questions

What color is #A28CFB?+

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

What is the closest Tailwind color to #A28CFB?+

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