#CCA7EC Color Information
Hex color code: #CCA7EC
The hex color #CCA7EC is a light purple with RGB values of (204, 167, 236) and HSL of (272°, 64%, 79%). It is commonly used in modern UI design.
Shades
color: #CCA7EC; background-color: #CCA7EC; border-color: #CCA7EC; box-shadow: 0 0 10px #CCA7EC; border: 2px solid #CCA7EC;
bg-[#CCA7EC] text-[#CCA7EC] border-[#CCA7EC] shadow-[0_0_10px_CCA7EC]
Generate Gradient
background: linear-gradient(90deg, #CCA7EC, #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 #CCA7EC in the color wheel.
RGB, HSL and CMYK Values
RGB
204, 167, 236
Red: 204 / Green: 167 / Blue: 236
HSL
272°, 64%, 79%
Hue: 272° / Saturation: 64% / Lightness: 79%
CMYK
14%, 29%, 0%, 7%
Cyan: 14% / Magenta: 29% / Yellow: 0% / Key: 7%
What color is #CCA7EC?
#CCA7EC is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#CCA7EC is a light purple color with RGB values of 204, 167, 236 and HSL of 272°, 64%, 79%. 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 #CCA7EC is #C7ECA7, creating high-contrast pairings. For softer combinations, try analogous colors like #A9A7EC.
Use #CCA7EC in CSS: color: #CCA7EC or background-color: #CCA7EC. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #CCA7EC
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 #CCA7EC?
#CCA7EC is a light purple color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #CCA7EC?
#CCA7EC in RGB is (204, 167, 236) - 204 red, 167 green, and 236 blue.
How to use #CCA7EC in CSS?
Use #CCA7EC directly in your CSS properties like color or background-color.