#AF5BDC Color Information

Hex color code: #AF5BDC

The hex color #AF5BDC is a balanced purple with RGB values of (175, 91, 220) and HSL of (279°, 65%, 61%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#AF5BDC
RGB
175, 91, 220
HSL
279°, 65%, 61%
CMYK
20%, 59%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF5BDC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 91, 220

Red: 175 / Green: 91 / Blue: 220

HSL

279°, 65%, 61%

Hue: 279° / Saturation: 65% / Lightness: 61%

CMYK

20%, 59%, 0%, 14%

Cyan: 20% / Magenta: 59% / Yellow: 0% / Key: 14%

What color is #AF5BDC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF5BDC to RGB:

rgb(175, 91, 220)HEX to RGB Converter →

HEX to HSL

Convert #AF5BDC to HSL:

hsl(279, 65%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #AF5BDC to CMYK:

cmyk(20%, 59%, 0%, 14%)Color Converter →

Color Meaning and Usage

#AF5BDC is a muted purple color with RGB values of 175, 91, 220 and HSL of 279°, 65%, 61%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF5BDC is #88DC5B, creating high-contrast pairings. For softer combinations, try analogous colors like #6E5BDC.

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

Contrast with #AF5BDC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF5BDC?

#AF5BDC is a muted purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF5BDC?

#AF5BDC in RGB is (175, 91, 220) - 175 red, 91 green, and 220 blue.

How to use #AF5BDC in CSS?

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

What colors go well with #AF5BDC?

#88DC5B (complementary), #6E5BDC (analogous), and #8C29C2 (lighter shade) work well with #AF5BDC.