#A342DB Color Information

Hex color code: #A342DB

The hex color #A342DB is a subtle purple with RGB values of (163, 66, 219) and HSL of (278°, 68%, 56%). It is often used for branding and logos.

Try:
Color NameDark Orchid
HEX
#A342DB
RGB
163, 66, 219
HSL
278°, 68%, 56%
CMYK
26%, 70%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #A342DB; 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 #A342DB; background-color: #A342DB15; }

Alert / Toast

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

Link / Accent

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

a { color: #A342DB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #A342DB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

163, 66, 219

Red: 163 / Green: 66 / Blue: 219

HSL

278°, 68%, 56%

Hue: 278° / Saturation: 68% / Lightness: 56%

CMYK

26%, 70%, 0%, 14%

Cyan: 26% / Magenta: 70% / Yellow: 0% / Key: 14%

What color is #A342DB?

#A342DB is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A342DB to RGB:

rgb(163, 66, 219)HEX to RGB Converter →

HEX to HSL

Convert #A342DB to HSL:

hsl(278, 68%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #A342DB to CMYK:

cmyk(26%, 70%, 0%, 14%)Color Converter →

Color Meaning and Usage

#A342DB is a neutral purple color with RGB values of 163, 66, 219 and HSL of 278°, 68%, 56%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A342DB is #7ADB43, creating high-contrast pairings. For softer combinations, try analogous colors like #5743DB.

Use #A342DB in CSS: color: #A342DB or background-color: #A342DB. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #A342DB

Sample text on this color - The quick brown fox jumps over the lazy dog.

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A342DB?

#A342DB is a neutral purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A342DB?

#A342DB in RGB is (163, 66, 219) - 163 red, 66 green, and 219 blue.

How to use #A342DB in CSS?

Use #A342DB directly in your CSS properties like color or background-color.

What colors go well with #A342DB?

#7ADB43 (complementary), #5743DB (analogous), and #7C21B0 (lighter shade) work well with #A342DB.