#AF0CFA Color

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

Color preview

#AF0CFA

Color formats

HEX
#AF0CFA
RGB
rgb(175, 12, 250)
RGBA
rgba(175, 12, 250, 1)
HSL
hsl(281, 96%, 51%)
HSV
hsv(281, 95%, 98%)
CMYK
cmyk(30%, 95%, 0%, 2%)
CSS variable
--color-primary: #AF0CFA;
Lowercase HEX
#af0cfa

Shades

Tints

Tones

Harmony

CSS snippets for #AF0CFA

.color-af0cfa {
  color: #AF0CFA;
  background-color: #AF0CFA;
}

Frequently asked questions

What color is #AF0CFA?+

#AF0CFA is a HEX color with RGB value rgb(175, 12, 250) and HSL value hsl(281, 96%, 51%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #AF0CFA?+

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