#AF7FDF Color

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

Color preview

#AF7FDF

Color formats

HEX
#AF7FDF
RGB
rgb(175, 127, 223)
RGBA
rgba(175, 127, 223, 1)
HSL
hsl(270, 60%, 69%)
HSV
hsv(270, 43%, 87%)
CMYK
cmyk(22%, 43%, 0%, 13%)
CSS variable
--color-primary: #AF7FDF;
Lowercase HEX
#af7fdf

Shades

Tints

Tones

Harmony

CSS snippets for #AF7FDF

.color-af7fdf {
  color: #AF7FDF;
  background-color: #AF7FDF;
}

Frequently asked questions

What color is #AF7FDF?+

#AF7FDF is a HEX color with RGB value rgb(175, 127, 223) and HSL value hsl(270, 60%, 69%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7FDF?+

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