#A162DF Color Information

Hex color code: #A162DF

A understated purple shade, #A162DF appears as (161, 98, 223) in RGB and (270°, 66%, 63%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#A162DF
RGB
161, 98, 223
HSL
270°, 66%, 63%
CMYK
28%, 56%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #A162DF; color: #000000; }

Badge

New Feature
.badge { background-color: #A162DF; color: #000000; }

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 #A162DF; background-color: #A162DF15; }

Alert / Toast

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

Link / Accent

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

a { color: #A162DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

161, 98, 223

Red: 161 / Green: 98 / Blue: 223

HSL

270°, 66%, 63%

Hue: 270° / Saturation: 66% / Lightness: 63%

CMYK

28%, 56%, 0%, 13%

Cyan: 28% / Magenta: 56% / Yellow: 0% / Key: 13%

What color is #A162DF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A162DF to RGB:

rgb(161, 98, 223)HEX to RGB Converter →

HEX to HSL

Convert #A162DF to HSL:

hsl(270, 66%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #A162DF to CMYK:

cmyk(28%, 56%, 0%, 13%)Color Converter →

Color Meaning and Usage

#A162DF is a muted purple color with RGB values of 161, 98, 223 and HSL of 270°, 66%, 63%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A162DF is #A1DF62, creating high-contrast pairings. For softer combinations, try analogous colors like #6262DF.

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

Contrast with #A162DF

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

Contrast Ratio: 5.33:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A162DF?

#A162DF is a muted purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A162DF?

#A162DF in RGB is (161, 98, 223) - 161 red, 98 green, and 223 blue.

How to use #A162DF in CSS?

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

What colors go well with #A162DF?

#A1DF62 (complementary), #6262DF (analogous), and #7A2ACB (lighter shade) work well with #A162DF.