#8C0CED Color

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

Color preview

#8C0CED

Color formats

HEX
#8C0CED
RGB
rgb(140, 12, 237)
RGBA
rgba(140, 12, 237, 1)
HSL
hsl(274, 90%, 49%)
HSV
hsv(274, 95%, 93%)
CMYK
cmyk(41%, 95%, 0%, 7%)
CSS variable
--color-primary: #8C0CED;
Lowercase HEX
#8c0ced

Shades

Tints

Tones

Harmony

CSS snippets for #8C0CED

.color-8c0ced {
  color: #8C0CED;
  background-color: #8C0CED;
}

Frequently asked questions

What color is #8C0CED?+

#8C0CED is a HEX color with RGB value rgb(140, 12, 237) and HSL value hsl(274, 90%, 49%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #8C0CED?+

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