#C798D6 Color Information

Hex color code: #C798D6

#C798D6 is a gentle magenta color. In RGB it is (199, 152, 214), and in HSL it is (285°, 43%, 72%). It is often used for branding and logos.

Try:
Color NamePlum
HEX
#C798D6
RGB
199, 152, 214
HSL
285°, 43%, 72%
CMYK
7%, 29%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C798D6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 152, 214

Red: 199 / Green: 152 / Blue: 214

HSL

285°, 43%, 72%

Hue: 285° / Saturation: 43% / Lightness: 72%

CMYK

7%, 29%, 0%, 16%

Cyan: 7% / Magenta: 29% / Yellow: 0% / Key: 16%

What color is #C798D6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C798D6 to RGB:

rgb(199, 152, 214)HEX to RGB Converter →

HEX to HSL

Convert #C798D6 to HSL:

hsl(285, 43%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #C798D6 to CMYK:

cmyk(7%, 29%, 0%, 16%)Color Converter →

Color Meaning and Usage

#C798D6 is a delicate magenta color with RGB values of 199, 152, 214 and HSL of 285°, 43%, 72%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C798D6 is #A8D699, creating high-contrast pairings. For softer combinations, try analogous colors like #A899D6.

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

Contrast with #C798D6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C798D6?

#C798D6 is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C798D6?

#C798D6 in RGB is (199, 152, 214) - 199 red, 152 green, and 214 blue.

How to use #C798D6 in CSS?

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

What colors go well with #C798D6?

#A8D699 (complementary), #A899D6 (analogous), and #A962C0 (lighter shade) work well with #C798D6.