#A28CEB Color

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

Color preview

#A28CEB

Color formats

HEX
#A28CEB
RGB
rgb(162, 140, 235)
RGBA
rgba(162, 140, 235, 1)
HSL
hsl(254, 70%, 74%)
HSV
hsv(254, 40%, 92%)
CMYK
cmyk(31%, 40%, 0%, 8%)
CSS variable
--color-primary: #A28CEB;
Lowercase HEX
#a28ceb

Shades

Tints

Tones

Harmony

CSS snippets for #A28CEB

.color-a28ceb {
  color: #A28CEB;
  background-color: #A28CEB;
}

Frequently asked questions

What color is #A28CEB?+

#A28CEB is a HEX color with RGB value rgb(162, 140, 235) and HSL value hsl(254, 70%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A28CEB?+

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