#D228D7 Color

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

Color preview

#D228D7

Color formats

HEX
#D228D7
RGB
rgb(210, 40, 215)
RGBA
rgba(210, 40, 215, 1)
HSL
hsl(298, 69%, 50%)
HSV
hsv(298, 81%, 84%)
CMYK
cmyk(2%, 81%, 0%, 16%)
CSS variable
--color-primary: #D228D7;
Lowercase HEX
#d228d7

Shades

Tints

Tones

Harmony

CSS snippets for #D228D7

.color-d228d7 {
  color: #D228D7;
  background-color: #D228D7;
}

Frequently asked questions

What color is #D228D7?+

#D228D7 is a HEX color with RGB value rgb(210, 40, 215) and HSL value hsl(298, 69%, 50%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D228D7?+

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