#A298EB Color

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

Color preview

#A298EB

Color formats

HEX
#A298EB
RGB
rgb(162, 152, 235)
RGBA
rgba(162, 152, 235, 1)
HSL
hsl(247, 67%, 76%)
HSV
hsv(247, 35%, 92%)
CMYK
cmyk(31%, 35%, 0%, 8%)
CSS variable
--color-primary: #A298EB;
Lowercase HEX
#a298eb

Shades

Tints

Tones

Harmony

CSS snippets for #A298EB

.color-a298eb {
  color: #A298EB;
  background-color: #A298EB;
}

Frequently asked questions

What color is #A298EB?+

#A298EB is a HEX color with RGB value rgb(162, 152, 235) and HSL value hsl(247, 67%, 76%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A298EB?+

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