#8731AF Color Information

Hex color code: #8731AF

#8731AF is a neutral purple color. In RGB it is (135, 49, 175), and in HSL it is (281°, 56%, 44%). It is commonly used in modern UI design.

Try:
Color NameDark Orchid
HEX
#8731AF
RGB
135, 49, 175
HSL
281°, 56%, 44%
CMYK
23%, 72%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #8731AF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #8731AF; color: #FFFFFF; }

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 #8731AF; background-color: #8731AF15; }

Alert / Toast

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

Link / Accent

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

a { color: #8731AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8731AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 49, 175

Red: 135 / Green: 49 / Blue: 175

HSL

281°, 56%, 44%

Hue: 281° / Saturation: 56% / Lightness: 44%

CMYK

23%, 72%, 0%, 31%

Cyan: 23% / Magenta: 72% / Yellow: 0% / Key: 31%

What color is #8731AF?

#8731AF is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8731AF to RGB:

rgb(135, 49, 175)HEX to RGB Converter →

HEX to HSL

Convert #8731AF to HSL:

hsl(281, 56%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #8731AF to CMYK:

cmyk(23%, 72%, 0%, 31%)Color Converter →

Color Meaning and Usage

#8731AF is a understated purple color with RGB values of 135, 49, 175 and HSL of 281°, 56%, 44%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8731AF is #59AF31, creating high-contrast pairings. For softer combinations, try analogous colors like #4831AF.

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

Contrast with #8731AF

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

Contrast Ratio: 3.09:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8731AF?

#8731AF is a understated purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #8731AF?

#8731AF in RGB is (135, 49, 175) - 135 red, 49 green, and 175 blue.

How to use #8731AF in CSS?

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

What colors go well with #8731AF?

#59AF31 (complementary), #4831AF (analogous), and #592173 (lighter shade) work well with #8731AF.