#AF8EC2 Color

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

Color preview

#AF8EC2

Color formats

HEX
#AF8EC2
RGB
rgb(175, 142, 194)
RGBA
rgba(175, 142, 194, 1)
HSL
hsl(278, 30%, 66%)
HSV
hsv(278, 27%, 76%)
CMYK
cmyk(10%, 27%, 0%, 24%)
CSS variable
--color-primary: #AF8EC2;
Lowercase HEX
#af8ec2

Shades

Tints

Tones

Harmony

CSS snippets for #AF8EC2

.color-af8ec2 {
  color: #AF8EC2;
  background-color: #AF8EC2;
}

Frequently asked questions

What color is #AF8EC2?+

#AF8EC2 is a HEX color with RGB value rgb(175, 142, 194) and HSL value hsl(278, 30%, 66%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AF8EC2?+

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