#CCA7D7 Color Information

Hex color code: #CCA7D7

#CCA7D7 is a soft magenta color. In RGB it is (204, 167, 215), and in HSL it is (286°, 38%, 75%). It is typically applied in digital products.

Try:
Color NamePlum
HEX
#CCA7D7
RGB
204, 167, 215
HSL
286°, 38%, 75%
CMYK
5%, 22%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #CCA7D7; 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 #CCA7D7; background-color: #CCA7D715; }

Alert / Toast

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

Link / Accent

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

a { color: #CCA7D7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 167, 215

Red: 204 / Green: 167 / Blue: 215

HSL

286°, 38%, 75%

Hue: 286° / Saturation: 38% / Lightness: 75%

CMYK

5%, 22%, 0%, 16%

Cyan: 5% / Magenta: 22% / Yellow: 0% / Key: 16%

What color is #CCA7D7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CCA7D7 to RGB:

rgb(204, 167, 215)HEX to RGB Converter →

HEX to HSL

Convert #CCA7D7 to HSL:

hsl(286, 38%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #CCA7D7 to CMYK:

cmyk(5%, 22%, 0%, 16%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #CCA7D7 has RGB (204, 167, 215) and HSL (286°, 38%, 75%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CCA7D7 is #B2D7A7, creating high-contrast pairings. For softer combinations, try analogous colors like #B4A7D7.

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

Contrast with #CCA7D7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CCA7D7?

#CCA7D7 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CCA7D7?

#CCA7D7 in RGB is (204, 167, 215) - 204 red, 167 green, and 215 blue.

How to use #CCA7D7 in CSS?

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

What colors go well with #CCA7D7?

#B2D7A7 (complementary), #B4A7D7 (analogous), and #AE72C0 (lighter shade) work well with #CCA7D7.