#A28DEC Color Information

Hex color code: #A28DEC

The hex color #A28DEC is a vivid blue with RGB values of (162, 141, 236) and HSL of (253°, 71%, 74%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#A28DEC
RGB
162, 141, 236
HSL
253°, 71%, 74%
CMYK
31%, 40%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A28DEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 141, 236

Red: 162 / Green: 141 / Blue: 236

HSL

253°, 71%, 74%

Hue: 253° / Saturation: 71% / Lightness: 74%

CMYK

31%, 40%, 0%, 7%

Cyan: 31% / Magenta: 40% / Yellow: 0% / Key: 7%

What color is #A28DEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A28DEC to RGB:

rgb(162, 141, 236)HEX to RGB Converter →

HEX to HSL

Convert #A28DEC to HSL:

hsl(253, 71%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #A28DEC to CMYK:

cmyk(31%, 40%, 0%, 7%)Color Converter →

Color Meaning and Usage

#A28DEC is a vivid blue color with RGB values of 162, 141, 236 and HSL of 253°, 71%, 74%. This blue-purple hue evokes creativity and luxury, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A28DEC is #D7EC8E, creating high-contrast pairings. For softer combinations, try analogous colors like #8EA8EC.

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

Contrast with #A28DEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A28DEC?

#A28DEC is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #A28DEC?

#A28DEC in RGB is (162, 141, 236) - 162 red, 141 green, and 236 blue.

How to use #A28DEC in CSS?

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

What colors go well with #A28DEC?

#D7EC8E (complementary), #8EA8EC (analogous), and #6C4CE1 (lighter shade) work well with #A28DEC.