#AF6DBA Color Information

Hex color code: #AF6DBA

The hex color #AF6DBA is a delicate magenta with RGB values of (175, 109, 186) and HSL of (291°, 36%, 58%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#AF6DBA
RGB
175, 109, 186
HSL
291°, 36%, 58%
CMYK
6%, 41%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF6DBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 109, 186

Red: 175 / Green: 109 / Blue: 186

HSL

291°, 36%, 58%

Hue: 291° / Saturation: 36% / Lightness: 58%

CMYK

6%, 41%, 0%, 27%

Cyan: 6% / Magenta: 41% / Yellow: 0% / Key: 27%

What color is #AF6DBA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF6DBA to RGB:

rgb(175, 109, 186)HEX to RGB Converter →

HEX to HSL

Convert #AF6DBA to HSL:

hsl(291, 36%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #AF6DBA to CMYK:

cmyk(6%, 41%, 0%, 27%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #AF6DBA has RGB (175, 109, 186) and HSL (291°, 36%, 58%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF6DBA is #79BA6D, creating high-contrast pairings. For softer combinations, try analogous colors like #886DBA.

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

Contrast with #AF6DBA

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

Contrast Ratio: 5.72:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF6DBA?

#AF6DBA is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF6DBA?

#AF6DBA in RGB is (175, 109, 186) - 175 red, 109 green, and 186 blue.

How to use #AF6DBA in CSS?

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

What colors go well with #AF6DBA?

#79BA6D (complementary), #886DBA (analogous), and #894695 (lighter shade) work well with #AF6DBA.