#A398FA Color

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

Color preview

#A398FA

Color formats

HEX
#A398FA
RGB
rgb(163, 152, 250)
RGBA
rgba(163, 152, 250, 1)
HSL
hsl(247, 91%, 79%)
HSV
hsv(247, 39%, 98%)
CMYK
cmyk(35%, 39%, 0%, 2%)
CSS variable
--color-primary: #A398FA;
Lowercase HEX
#a398fa

Shades

Tints

Tones

Harmony

CSS snippets for #A398FA

.color-a398fa {
  color: #A398FA;
  background-color: #A398FA;
}

Frequently asked questions

What color is #A398FA?+

#A398FA is a HEX color with RGB value rgb(163, 152, 250) and HSL value hsl(247, 91%, 79%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A398FA?+

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