#AF38FF Color

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

Color preview

#AF38FF

Color formats

HEX
#AF38FF
RGB
rgb(175, 56, 255)
RGBA
rgba(175, 56, 255, 1)
HSL
hsl(276, 100%, 61%)
HSV
hsv(276, 78%, 100%)
CMYK
cmyk(31%, 78%, 0%, 0%)
CSS variable
--color-primary: #AF38FF;
Lowercase HEX
#af38ff

Shades

Tints

Tones

Harmony

CSS snippets for #AF38FF

.color-af38ff {
  color: #AF38FF;
  background-color: #AF38FF;
}

Frequently asked questions

What color is #AF38FF?+

#AF38FF is a HEX color with RGB value rgb(175, 56, 255) and HSL value hsl(276, 100%, 61%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #AF38FF?+

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