#A28FCE Color Information

Hex color code: #A28FCE

A pastel purple shade, #A28FCE appears as (162, 143, 206) in RGB and (258°, 39%, 68%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#A28FCE
RGB
162, 143, 206
HSL
258°, 39%, 68%
CMYK
21%, 31%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A28FCE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 143, 206

Red: 162 / Green: 143 / Blue: 206

HSL

258°, 39%, 68%

Hue: 258° / Saturation: 39% / Lightness: 68%

CMYK

21%, 31%, 0%, 19%

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

What color is #A28FCE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A28FCE to RGB:

rgb(162, 143, 206)HEX to RGB Converter →

HEX to HSL

Convert #A28FCE to HSL:

hsl(258, 39%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #A28FCE to CMYK:

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

Color Meaning and Usage

#A28FCE is a subtle purple color with RGB values of 162, 143, 206 and HSL of 258°, 39%, 68%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A28FCE is #BACD8E, creating high-contrast pairings. For softer combinations, try analogous colors like #8E9ACD.

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

Contrast with #A28FCE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A28FCE?

#A28FCE is a subtle purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #A28FCE?

#A28FCE in RGB is (162, 143, 206) - 162 red, 143 green, and 206 blue.

How to use #A28FCE in CSS?

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

What colors go well with #A28FCE?

#BACD8E (complementary), #8E9ACD (analogous), and #7458B6 (lighter shade) work well with #A28FCE.