#A581F2 Color

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

Color preview

#A581F2

Color formats

HEX
#A581F2
RGB
rgb(165, 129, 242)
RGBA
rgba(165, 129, 242, 1)
HSL
hsl(259, 81%, 73%)
HSV
hsv(259, 47%, 95%)
CMYK
cmyk(32%, 47%, 0%, 5%)
CSS variable
--color-primary: #A581F2;
Lowercase HEX
#a581f2

Shades

Tints

Tones

Harmony

CSS snippets for #A581F2

.color-a581f2 {
  color: #A581F2;
  background-color: #A581F2;
}

Frequently asked questions

What color is #A581F2?+

#A581F2 is a HEX color with RGB value rgb(165, 129, 242) and HSL value hsl(259, 81%, 73%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A581F2?+

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