#A687C9 Color Information

Hex color code: #A687C9

A subtle purple shade, #A687C9 appears as (166, 135, 201) in RGB and (268°, 38%, 66%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#A687C9
RGB
166, 135, 201
HSL
268°, 38%, 66%
CMYK
17%, 33%, 0%, 21%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A687C9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

166, 135, 201

Red: 166 / Green: 135 / Blue: 201

HSL

268°, 38%, 66%

Hue: 268° / Saturation: 38% / Lightness: 66%

CMYK

17%, 33%, 0%, 21%

Cyan: 17% / Magenta: 33% / Yellow: 0% / Key: 21%

What color is #A687C9?

#A687C9 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A687C9 to RGB:

rgb(166, 135, 201)HEX to RGB Converter →

HEX to HSL

Convert #A687C9 to HSL:

hsl(268, 38%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #A687C9 to CMYK:

cmyk(17%, 33%, 0%, 21%)Color Converter →

Color Meaning and Usage

A soft purple tone, #A687C9 has RGB (166, 135, 201) and HSL (268°, 38%, 66%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A687C9 is #AAC987, creating high-contrast pairings. For softer combinations, try analogous colors like #878AC9.

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

Contrast with #A687C9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A687C9?

#A687C9 is a soft purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #A687C9?

#A687C9 in RGB is (166, 135, 201) - 166 red, 135 green, and 201 blue.

How to use #A687C9 in CSS?

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

What colors go well with #A687C9?

#AAC987 (complementary), #878AC9 (analogous), and #7F53B2 (lighter shade) work well with #A687C9.