#C987FB Color

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

Color preview

#C987FB

Color formats

HEX
#C987FB
RGB
rgb(201, 135, 251)
RGBA
rgba(201, 135, 251, 1)
HSL
hsl(274, 94%, 76%)
HSV
hsv(274, 46%, 98%)
CMYK
cmyk(20%, 46%, 0%, 2%)
CSS variable
--color-primary: #C987FB;
Lowercase HEX
#c987fb

Shades

Tints

Tones

Harmony

CSS snippets for #C987FB

.color-c987fb {
  color: #C987FB;
  background-color: #C987FB;
}

Frequently asked questions

What color is #C987FB?+

#C987FB is a HEX color with RGB value rgb(201, 135, 251) and HSL value hsl(274, 94%, 76%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #C987FB?+

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