#AF7AF5 Color

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

Color preview

#AF7AF5

Color formats

HEX
#AF7AF5
RGB
rgb(175, 122, 245)
RGBA
rgba(175, 122, 245, 1)
HSL
hsl(266, 86%, 72%)
HSV
hsv(266, 50%, 96%)
CMYK
cmyk(29%, 50%, 0%, 4%)
CSS variable
--color-primary: #AF7AF5;
Lowercase HEX
#af7af5

Shades

Tints

Tones

Harmony

CSS snippets for #AF7AF5

.color-af7af5 {
  color: #AF7AF5;
  background-color: #AF7AF5;
}

Frequently asked questions

What color is #AF7AF5?+

#AF7AF5 is a HEX color with RGB value rgb(175, 122, 245) and HSL value hsl(266, 86%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7AF5?+

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