#AF7FDC Color

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

Color preview

#AF7FDC

Color formats

HEX
#AF7FDC
RGB
rgb(175, 127, 220)
RGBA
rgba(175, 127, 220, 1)
HSL
hsl(271, 57%, 68%)
HSV
hsv(271, 42%, 86%)
CMYK
cmyk(20%, 42%, 0%, 14%)
CSS variable
--color-primary: #AF7FDC;
Lowercase HEX
#af7fdc

Shades

Tints

Tones

Harmony

CSS snippets for #AF7FDC

.color-af7fdc {
  color: #AF7FDC;
  background-color: #AF7FDC;
}

Frequently asked questions

What color is #AF7FDC?+

#AF7FDC is a HEX color with RGB value rgb(175, 127, 220) and HSL value hsl(271, 57%, 68%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7FDC?+

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