#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.
Shades
color: #C798F6; background-color: #C798F6; border-color: #C798F6; box-shadow: 0 0 10px #C798F6; border: 2px solid #C798F6;
bg-[#C798F6] text-[#C798F6] border-[#C798F6] shadow-[0_0_10px_C798F6]
Generate Gradient
background: linear-gradient(90deg, #C798F6, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
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.
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
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.
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.