#AF6CF2 Color

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

Color preview

#AF6CF2

Color formats

HEX
#AF6CF2
RGB
rgb(175, 108, 242)
RGBA
rgba(175, 108, 242, 1)
HSL
hsl(270, 84%, 69%)
HSV
hsv(270, 55%, 95%)
CMYK
cmyk(28%, 55%, 0%, 5%)
CSS variable
--color-primary: #AF6CF2;
Lowercase HEX
#af6cf2

Shades

Tints

Tones

Harmony

CSS snippets for #AF6CF2

.color-af6cf2 {
  color: #AF6CF2;
  background-color: #AF6CF2;
}

Frequently asked questions

What color is #AF6CF2?+

#AF6CF2 is a HEX color with RGB value rgb(175, 108, 242) and HSL value hsl(270, 84%, 69%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF6CF2?+

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