#AF7DFF Color

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

Color preview

#AF7DFF

Color formats

HEX
#AF7DFF
RGB
rgb(175, 125, 255)
RGBA
rgba(175, 125, 255, 1)
HSL
hsl(263, 100%, 75%)
HSV
hsv(263, 51%, 100%)
CMYK
cmyk(31%, 51%, 0%, 0%)
CSS variable
--color-primary: #AF7DFF;
Lowercase HEX
#af7dff

Shades

Tints

Tones

Harmony

CSS snippets for #AF7DFF

.color-af7dff {
  color: #AF7DFF;
  background-color: #AF7DFF;
}

Frequently asked questions

What color is #AF7DFF?+

#AF7DFF is a HEX color with RGB value rgb(175, 125, 255) and HSL value hsl(263, 100%, 75%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7DFF?+

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