#AB31F2 Color

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

Color preview

#AB31F2

Color formats

HEX
#AB31F2
RGB
rgb(171, 49, 242)
RGBA
rgba(171, 49, 242, 1)
HSL
hsl(278, 88%, 57%)
HSV
hsv(278, 80%, 95%)
CMYK
cmyk(29%, 80%, 0%, 5%)
CSS variable
--color-primary: #AB31F2;
Lowercase HEX
#ab31f2

Shades

Tints

Tones

Harmony

CSS snippets for #AB31F2

.color-ab31f2 {
  color: #AB31F2;
  background-color: #AB31F2;
}

Frequently asked questions

What color is #AB31F2?+

#AB31F2 is a HEX color with RGB value rgb(171, 49, 242) and HSL value hsl(278, 88%, 57%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #AB31F2?+

The closest Tailwind color is purple-600, available as the bg-purple-600 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