#CD51A7 Color Information

Hex color code: #CD51A7

#CD51A7 is a subtle magenta color. In RGB it is (205, 81, 167), and in HSL it is (318°, 55%, 56%). It is often used for branding and logos.

Try:
Color NamePale Violet Red
HEX
#CD51A7
RGB
205, 81, 167
HSL
318°, 55%, 56%
CMYK
0%, 60%, 19%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CD51A7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

205, 81, 167

Red: 205 / Green: 81 / Blue: 167

HSL

318°, 55%, 56%

Hue: 318° / Saturation: 55% / Lightness: 56%

CMYK

0%, 60%, 19%, 20%

Cyan: 0% / Magenta: 60% / Yellow: 19% / Key: 20%

What color is #CD51A7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CD51A7 to RGB:

rgb(205, 81, 167)HEX to RGB Converter →

HEX to HSL

Convert #CD51A7 to HSL:

hsl(318, 55%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #CD51A7 to CMYK:

cmyk(0%, 60%, 19%, 20%)Color Converter →

Color Meaning and Usage

#CD51A7 is a subtle magenta color with RGB values of 205, 81, 167 and HSL of 318°, 55%, 56%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CD51A7 is #51CD76, creating high-contrast pairings. For softer combinations, try analogous colors like #B451CD.

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

Contrast with #CD51A7

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

Contrast Ratio: 5.33:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CD51A7?

#CD51A7 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CD51A7?

#CD51A7 in RGB is (205, 81, 167) - 205 red, 81 green, and 167 blue.

How to use #CD51A7 in CSS?

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

What colors go well with #CD51A7?

#51CD76 (complementary), #B451CD (analogous), and #A22F80 (lighter shade) work well with #CD51A7.