#CD98FE Color

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

Color preview

#CD98FE

Color formats

HEX
#CD98FE
RGB
rgb(205, 152, 254)
RGBA
rgba(205, 152, 254, 1)
HSL
hsl(271, 98%, 80%)
HSV
hsv(271, 40%, 100%)
CMYK
cmyk(19%, 40%, 0%, 0%)
CSS variable
--color-primary: #CD98FE;
Lowercase HEX
#cd98fe

Shades

Tints

Tones

Harmony

CSS snippets for #CD98FE

.color-cd98fe {
  color: #CD98FE;
  background-color: #CD98FE;
}

Frequently asked questions

What color is #CD98FE?+

#CD98FE is a HEX color with RGB value rgb(205, 152, 254) and HSL value hsl(271, 98%, 80%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #CD98FE?+

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