#A287EF Color Information

Hex color code: #A287EF

The hex color #A287EF is a striking purple with RGB values of (162, 135, 239) and HSL of (256°, 76%, 73%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#A287EF
RGB
162, 135, 239
HSL
256°, 76%, 73%
CMYK
32%, 44%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A287EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 135, 239

Red: 162 / Green: 135 / Blue: 239

HSL

256°, 76%, 73%

Hue: 256° / Saturation: 76% / Lightness: 73%

CMYK

32%, 44%, 0%, 6%

Cyan: 32% / Magenta: 44% / Yellow: 0% / Key: 6%

What color is #A287EF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A287EF to RGB:

rgb(162, 135, 239)HEX to RGB Converter →

HEX to HSL

Convert #A287EF to HSL:

hsl(256, 76%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #A287EF to CMYK:

cmyk(32%, 44%, 0%, 6%)Color Converter →

Color Meaning and Usage

A vivid purple tone, #A287EF has RGB (162, 135, 239) and HSL (256°, 76%, 73%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A287EF is #D3EE86, creating high-contrast pairings. For softer combinations, try analogous colors like #869EEE.

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

Contrast with #A287EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A287EF?

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

What is the RGB value of #A287EF?

#A287EF in RGB is (162, 135, 239) - 162 red, 135 green, and 239 blue.

How to use #A287EF in CSS?

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

What colors go well with #A287EF?

#D3EE86 (complementary), #869EEE (analogous), and #6E43E5 (lighter shade) work well with #A287EF.