#AF12F8 Color

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

Color preview

#AF12F8

Color formats

HEX
#AF12F8
RGB
rgb(175, 18, 248)
RGBA
rgba(175, 18, 248, 1)
HSL
hsl(281, 94%, 52%)
HSV
hsv(281, 93%, 97%)
CMYK
cmyk(29%, 93%, 0%, 3%)
CSS variable
--color-primary: #AF12F8;
Lowercase HEX
#af12f8

Shades

Tints

Tones

Harmony

CSS snippets for #AF12F8

.color-af12f8 {
  color: #AF12F8;
  background-color: #AF12F8;
}

Frequently asked questions

What color is #AF12F8?+

#AF12F8 is a HEX color with RGB value rgb(175, 18, 248) and HSL value hsl(281, 94%, 52%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #AF12F8?+

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