#AF12C4 Color

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

Color preview

#AF12C4

Color formats

HEX
#AF12C4
RGB
rgb(175, 18, 196)
RGBA
rgba(175, 18, 196, 1)
HSL
hsl(293, 83%, 42%)
HSV
hsv(293, 91%, 77%)
CMYK
cmyk(11%, 91%, 0%, 23%)
CSS variable
--color-primary: #AF12C4;
Lowercase HEX
#af12c4

Shades

Tints

Tones

Harmony

CSS snippets for #AF12C4

.color-af12c4 {
  color: #AF12C4;
  background-color: #AF12C4;
}

Frequently asked questions

What color is #AF12C4?+

#AF12C4 is a HEX color with RGB value rgb(175, 18, 196) and HSL value hsl(293, 83%, 42%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #AF12C4?+

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