#AF12DF Color

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

Color preview

#AF12DF

Color formats

HEX
#AF12DF
RGB
rgb(175, 18, 223)
RGBA
rgba(175, 18, 223, 1)
HSL
hsl(286, 85%, 47%)
HSV
hsv(286, 92%, 87%)
CMYK
cmyk(22%, 92%, 0%, 13%)
CSS variable
--color-primary: #AF12DF;
Lowercase HEX
#af12df

Shades

Tints

Tones

Harmony

CSS snippets for #AF12DF

.color-af12df {
  color: #AF12DF;
  background-color: #AF12DF;
}

Frequently asked questions

What color is #AF12DF?+

#AF12DF is a HEX color with RGB value rgb(175, 18, 223) and HSL value hsl(286, 85%, 47%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #AF12DF?+

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