#CC98D1 Color Information

Hex color code: #CC98D1

The hex color #CC98D1 is a delicate magenta with RGB values of (204, 152, 209) and HSL of (295°, 38%, 71%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#CC98D1
RGB
204, 152, 209
HSL
295°, 38%, 71%
CMYK
2%, 27%, 0%, 18%

Shades

CSS Usage
color: #CC98D1;
background-color: #CC98D1;
border-color: #CC98D1;
box-shadow: 0 0 10px #CC98D1;
border: 2px solid #CC98D1;
Tailwind Usage
bg-[#CC98D1]
text-[#CC98D1]
border-[#CC98D1]
shadow-[0_0_10px_CC98D1]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #CC98D1, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #CC98D1; color: #000000; }

Badge

New Feature
.badge { background-color: #CC98D1; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #CC98D1; background-color: #CC98D115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #CC98D120; border-left: 4px solid #CC98D1; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #CC98D1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #CC98D1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 152, 209

Red: 204 / Green: 152 / Blue: 209

HSL

295°, 38%, 71%

Hue: 295° / Saturation: 38% / Lightness: 71%

CMYK

2%, 27%, 0%, 18%

Cyan: 2% / Magenta: 27% / Yellow: 0% / Key: 18%

What color is #CC98D1?

#CC98D1 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC98D1 to RGB:

rgb(204, 152, 209)HEX to RGB Converter →

HEX to HSL

Convert #CC98D1 to HSL:

hsl(295, 38%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #CC98D1 to CMYK:

cmyk(2%, 27%, 0%, 18%)Color Converter →

Color Meaning and Usage

#CC98D1 is a gentle magenta color with RGB values of 204, 152, 209 and HSL of 295°, 38%, 71%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC98D1 is #9ED199, creating high-contrast pairings. For softer combinations, try analogous colors like #B099D1.

Use #CC98D1 in CSS: color: #CC98D1 or background-color: #CC98D1. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #CC98D1

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 8.98:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC98D1?

#CC98D1 is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CC98D1?

#CC98D1 in RGB is (204, 152, 209) - 204 red, 152 green, and 209 blue.

How to use #CC98D1 in CSS?

Use #CC98D1 directly in your CSS properties like color or background-color.

What colors go well with #CC98D1?

#9ED199 (complementary), #B099D1 (analogous), and #B264B9 (lighter shade) work well with #CC98D1.