#CCA8F0 Color Information
Hex color code: #CCA8F0
The hex color #CCA8F0 is a soft purple with RGB values of (204, 168, 240) and HSL of (270°, 71%, 80%). It is frequently seen in web interfaces.
Shades
color: #CCA8F0; background-color: #CCA8F0; border-color: #CCA8F0; box-shadow: 0 0 10px #CCA8F0; border: 2px solid #CCA8F0;
bg-[#CCA8F0] text-[#CCA8F0] border-[#CCA8F0] shadow-[0_0_10px_CCA8F0]
Generate Gradient
background: linear-gradient(90deg, #CCA8F0, #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 #CCA8F0 in the color wheel.
RGB, HSL and CMYK Values
RGB
204, 168, 240
Red: 204 / Green: 168 / Blue: 240
HSL
270°, 71%, 80%
Hue: 270° / Saturation: 71% / Lightness: 80%
CMYK
15%, 30%, 0%, 6%
Cyan: 15% / Magenta: 30% / Yellow: 0% / Key: 6%
What color is #CCA8F0?
#CCA8F0 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A ethereal purple tone, #CCA8F0 has RGB (204, 168, 240) and HSL (270°, 71%, 80%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #CCA8F0 is #CCF0A8, creating high-contrast pairings. For softer combinations, try analogous colors like #A8A8F0.
Use #CCA8F0 in CSS: color: #CCA8F0 or background-color: #CCA8F0. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #CCA8F0
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 #CCA8F0?
#CCA8F0 is a ethereal purple color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #CCA8F0?
#CCA8F0 in RGB is (204, 168, 240) - 204 red, 168 green, and 240 blue.
How to use #CCA8F0 in CSS?
Use #CCA8F0 directly in your CSS properties like color or background-color.