#A340CB Color Information
Hex color code: #A340CB
#A340CB is a subtle purple color. In RGB it is (163, 64, 203), and in HSL it is (283°, 57%, 52%). It is popular in mobile app design.
Shades
color: #A340CB; background-color: #A340CB; border-color: #A340CB; box-shadow: 0 0 10px #A340CB; border: 2px solid #A340CB;
bg-[#A340CB] text-[#A340CB] border-[#A340CB] shadow-[0_0_10px_A340CB]
Generate Gradient
background: linear-gradient(90deg, #A340CB, #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 #A340CB in the color wheel.
RGB, HSL and CMYK Values
RGB
163, 64, 203
Red: 163 / Green: 64 / Blue: 203
HSL
283°, 57%, 52%
Hue: 283° / Saturation: 57% / Lightness: 52%
CMYK
20%, 68%, 0%, 20%
Cyan: 20% / Magenta: 68% / Yellow: 0% / Key: 20%
What color is #A340CB?
#A340CB is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#A340CB is a balanced purple color with RGB values of 163, 64, 203 and HSL of 283°, 57%, 52%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #A340CB is #66CA3F, creating high-contrast pairings. For softer combinations, try analogous colors like #5D3FCA.
Use #A340CB in CSS: color: #A340CB or background-color: #A340CB. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #A340CB
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 #A340CB?
#A340CB is a balanced purple color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #A340CB?
#A340CB in RGB is (163, 64, 203) - 163 red, 64 green, and 203 blue.
How to use #A340CB in CSS?
Use #A340CB directly in your CSS properties like color or background-color.