#AF79F6 Color

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

Color preview

#AF79F6

Color formats

HEX
#AF79F6
RGB
rgb(175, 121, 246)
RGBA
rgba(175, 121, 246, 1)
HSL
hsl(266, 87%, 72%)
HSV
hsv(266, 51%, 96%)
CMYK
cmyk(29%, 51%, 0%, 4%)
CSS variable
--color-primary: #AF79F6;
Lowercase HEX
#af79f6

Shades

Tints

Tones

Harmony

CSS snippets for #AF79F6

.color-af79f6 {
  color: #AF79F6;
  background-color: #AF79F6;
}

Frequently asked questions

What color is #AF79F6?+

#AF79F6 is a HEX color with RGB value rgb(175, 121, 246) and HSL value hsl(266, 87%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF79F6?+

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