#AF8CE7 Color

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

Color preview

#AF8CE7

Color formats

HEX
#AF8CE7
RGB
rgb(175, 140, 231)
RGBA
rgba(175, 140, 231, 1)
HSL
hsl(263, 65%, 73%)
HSV
hsv(263, 39%, 91%)
CMYK
cmyk(24%, 39%, 0%, 9%)
CSS variable
--color-primary: #AF8CE7;
Lowercase HEX
#af8ce7

Shades

Tints

Tones

Harmony

CSS snippets for #AF8CE7

.color-af8ce7 {
  color: #AF8CE7;
  background-color: #AF8CE7;
}

Frequently asked questions

What color is #AF8CE7?+

#AF8CE7 is a HEX color with RGB value rgb(175, 140, 231) and HSL value hsl(263, 65%, 73%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8CE7?+

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