#AF4CFA Color

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

Color preview

#AF4CFA

Color formats

HEX
#AF4CFA
RGB
rgb(175, 76, 250)
RGBA
rgba(175, 76, 250, 1)
HSL
hsl(274, 95%, 64%)
HSV
hsv(274, 70%, 98%)
CMYK
cmyk(30%, 70%, 0%, 2%)
CSS variable
--color-primary: #AF4CFA;
Lowercase HEX
#af4cfa

Shades

Tints

Tones

Harmony

CSS snippets for #AF4CFA

.color-af4cfa {
  color: #AF4CFA;
  background-color: #AF4CFA;
}

Frequently asked questions

What color is #AF4CFA?+

#AF4CFA is a HEX color with RGB value rgb(175, 76, 250) and HSL value hsl(274, 95%, 64%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF4CFA?+

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