#AF2AFC Color

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

Color preview

#AF2AFC

Color formats

HEX
#AF2AFC
RGB
rgb(175, 42, 252)
RGBA
rgba(175, 42, 252, 1)
HSL
hsl(278, 97%, 58%)
HSV
hsv(278, 83%, 99%)
CMYK
cmyk(31%, 83%, 0%, 1%)
CSS variable
--color-primary: #AF2AFC;
Lowercase HEX
#af2afc

Shades

Tints

Tones

Harmony

CSS snippets for #AF2AFC

.color-af2afc {
  color: #AF2AFC;
  background-color: #AF2AFC;
}

Frequently asked questions

What color is #AF2AFC?+

#AF2AFC is a HEX color with RGB value rgb(175, 42, 252) and HSL value hsl(278, 97%, 58%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #AF2AFC?+

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