#C798F6 Color Information

Hex color code: #C798F6

The hex color #C798F6 is a airy purple with RGB values of (199, 152, 246) and HSL of (270°, 84%, 78%). It is popular in mobile app design.

Try:
Color NamePlum
HEX
#C798F6
RGB
199, 152, 246
HSL
270°, 84%, 78%
CMYK
19%, 38%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C798F6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 152, 246

Red: 199 / Green: 152 / Blue: 246

HSL

270°, 84%, 78%

Hue: 270° / Saturation: 84% / Lightness: 78%

CMYK

19%, 38%, 0%, 4%

Cyan: 19% / Magenta: 38% / Yellow: 0% / Key: 4%

What color is #C798F6?

#C798F6 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C798F6 to RGB:

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

HEX to HSL

Convert #C798F6 to HSL:

hsl(270, 84%, 78%)RGB to HSL Converter →

HEX to CMYK

Convert #C798F6 to CMYK:

cmyk(19%, 38%, 0%, 4%)Color Converter →

Color Meaning and Usage

A ethereal purple tone, #C798F6 has RGB (199, 152, 246) and HSL (270°, 84%, 78%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C798F6 is #C7F698, creating high-contrast pairings. For softer combinations, try analogous colors like #9898F6.

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

Contrast with #C798F6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C798F6?

#C798F6 is a ethereal purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #C798F6?

#C798F6 in RGB is (199, 152, 246) - 199 red, 152 green, and 246 blue.

How to use #C798F6 in CSS?

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

What colors go well with #C798F6?

#C7F698 (complementary), #9898F6 (analogous), and #A151F0 (lighter shade) work well with #C798F6.