#A252BC Color Information

Hex color code: #A252BC

A soft magenta shade, #A252BC appears as (162, 82, 188) in RGB and (285°, 44%, 53%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#A252BC
RGB
162, 82, 188
HSL
285°, 44%, 53%
CMYK
14%, 56%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A252BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 82, 188

Red: 162 / Green: 82 / Blue: 188

HSL

285°, 44%, 53%

Hue: 285° / Saturation: 44% / Lightness: 53%

CMYK

14%, 56%, 0%, 26%

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

What color is #A252BC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A252BC to RGB:

rgb(162, 82, 188)HEX to RGB Converter →

HEX to HSL

Convert #A252BC to HSL:

hsl(285, 44%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #A252BC to CMYK:

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

Color Meaning and Usage

A gentle magenta tone, #A252BC has RGB (162, 82, 188) and HSL (285°, 44%, 53%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A252BC is #6DBC52, creating high-contrast pairings. For softer combinations, try analogous colors like #6D52BC.

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

Contrast with #A252BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A252BC?

#A252BC is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A252BC?

#A252BC in RGB is (162, 82, 188) - 162 red, 82 green, and 188 blue.

How to use #A252BC in CSS?

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

What colors go well with #A252BC?

#6DBC52 (complementary), #6D52BC (analogous), and #76368C (lighter shade) work well with #A252BC.