#A875C8 Color Information

Hex color code: #A875C8

#A875C8 is a soft purple color. In RGB it is (168, 117, 200), and in HSL it is (277°, 43%, 62%). It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#A875C8
RGB
168, 117, 200
HSL
277°, 43%, 62%
CMYK
16%, 42%, 0%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A875C8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

168, 117, 200

Red: 168 / Green: 117 / Blue: 200

HSL

277°, 43%, 62%

Hue: 277° / Saturation: 43% / Lightness: 62%

CMYK

16%, 42%, 0%, 22%

Cyan: 16% / Magenta: 42% / Yellow: 0% / Key: 22%

What color is #A875C8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A875C8 to RGB:

rgb(168, 117, 200)HEX to RGB Converter →

HEX to HSL

Convert #A875C8 to HSL:

hsl(277, 43%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #A875C8 to CMYK:

cmyk(16%, 42%, 0%, 22%)Color Converter →

Color Meaning and Usage

#A875C8 is a gentle purple color with RGB values of 168, 117, 200 and HSL of 277°, 43%, 62%. 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 #A875C8 is #94C874, creating high-contrast pairings. For softer combinations, try analogous colors like #7E74C8.

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

Contrast with #A875C8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A875C8?

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

What is the RGB value of #A875C8?

#A875C8 in RGB is (168, 117, 200) - 168 red, 117 green, and 200 blue.

How to use #A875C8 in CSS?

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

What colors go well with #A875C8?

#94C874 (complementary), #7E74C8 (analogous), and #8444AB (lighter shade) work well with #A875C8.