#A28CCA Color Information

Hex color code: #A28CCA

The hex color #A28CCA is a pastel purple with RGB values of (162, 140, 202) and HSL of (261°, 37%, 67%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#A28CCA
RGB
162, 140, 202
HSL
261°, 37%, 67%
CMYK
20%, 31%, 0%, 21%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A28CCA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 140, 202

Red: 162 / Green: 140 / Blue: 202

HSL

261°, 37%, 67%

Hue: 261° / Saturation: 37% / Lightness: 67%

CMYK

20%, 31%, 0%, 21%

Cyan: 20% / Magenta: 31% / Yellow: 0% / Key: 21%

What color is #A28CCA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A28CCA to RGB:

rgb(162, 140, 202)HEX to RGB Converter →

HEX to HSL

Convert #A28CCA to HSL:

hsl(261, 37%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #A28CCA to CMYK:

cmyk(20%, 31%, 0%, 21%)Color Converter →

Color Meaning and Usage

#A28CCA is a gentle purple color with RGB values of 162, 140, 202 and HSL of 261°, 37%, 67%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A28CCA is #B4CA8C, creating high-contrast pairings. For softer combinations, try analogous colors like #8C95CA.

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

Contrast with #A28CCA

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

Contrast Ratio: 7.14:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A28CCA?

#A28CCA is a gentle purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #A28CCA?

#A28CCA in RGB is (162, 140, 202) - 162 red, 140 green, and 202 blue.

How to use #A28CCA in CSS?

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

What colors go well with #A28CCA?

#B4CA8C (complementary), #8C95CA (analogous), and #7757B2 (lighter shade) work well with #A28CCA.