#AF2FFF Color

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

Color preview

#AF2FFF

Color formats

HEX
#AF2FFF
RGB
rgb(175, 47, 255)
RGBA
rgba(175, 47, 255, 1)
HSL
hsl(277, 100%, 59%)
HSV
hsv(277, 82%, 100%)
CMYK
cmyk(31%, 82%, 0%, 0%)
CSS variable
--color-primary: #AF2FFF;
Lowercase HEX
#af2fff

Shades

Tints

Tones

Harmony

CSS snippets for #AF2FFF

.color-af2fff {
  color: #AF2FFF;
  background-color: #AF2FFF;
}

Frequently asked questions

What color is #AF2FFF?+

#AF2FFF is a HEX color with RGB value rgb(175, 47, 255) and HSL value hsl(277, 100%, 59%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #AF2FFF?+

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