#CC7EDF Color Information

Hex color code: #CC7EDF

The hex color #CC7EDF is a subtle magenta with RGB values of (204, 126, 223) and HSL of (288°, 60%, 68%). It is popular in mobile app design.

Try:
Color NameViolet
HEX
#CC7EDF
RGB
204, 126, 223
HSL
288°, 60%, 68%
CMYK
9%, 43%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CC7EDF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 126, 223

Red: 204 / Green: 126 / Blue: 223

HSL

288°, 60%, 68%

Hue: 288° / Saturation: 60% / Lightness: 68%

CMYK

9%, 43%, 0%, 13%

Cyan: 9% / Magenta: 43% / Yellow: 0% / Key: 13%

What color is #CC7EDF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC7EDF to RGB:

rgb(204, 126, 223)HEX to RGB Converter →

HEX to HSL

Convert #CC7EDF to HSL:

hsl(288, 60%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #CC7EDF to CMYK:

cmyk(9%, 43%, 0%, 13%)Color Converter →

Color Meaning and Usage

#CC7EDF is a understated magenta color with RGB values of 204, 126, 223 and HSL of 288°, 60%, 68%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC7EDF is #90DE7C, creating high-contrast pairings. For softer combinations, try analogous colors like #9A7CDE.

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

Contrast with #CC7EDF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC7EDF?

#CC7EDF is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CC7EDF?

#CC7EDF in RGB is (204, 126, 223) - 204 red, 126 green, and 223 blue.

How to use #CC7EDF in CSS?

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

What colors go well with #CC7EDF?

#90DE7C (complementary), #9A7CDE (analogous), and #B23FCF (lighter shade) work well with #CC7EDF.