#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.

Try:
Color NameDark Orchid
HEX
#A340CB
RGB
163, 64, 203
HSL
283°, 57%, 52%
CMYK
20%, 68%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #A340CB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #A340CB; color: #FFFFFF; }

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 #A340CB; background-color: #A340CB15; }

Alert / Toast

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

Link / Accent

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

a { color: #A340CB; }

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.

Current Complementary Triadic Analogous

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

HEX to RGB

Convert #A340CB to RGB:

rgb(163, 64, 203)HEX to RGB Converter →

HEX to HSL

Convert #A340CB to HSL:

hsl(283, 57%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #A340CB to CMYK:

cmyk(20%, 68%, 0%, 20%)Color Converter →

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.

Contrast Ratio: 4.15:1
WCAG AA: Fail
WCAG AAA: Fail

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.

What colors go well with #A340CB?

#66CA3F (complementary), #5D3FCA (analogous), and #762994 (lighter shade) work well with #A340CB.