#AF5BEC Color Information

Hex color code: #AF5BEC

The hex color #AF5BEC is a striking purple with RGB values of (175, 91, 236) and HSL of (275°, 79%, 64%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#AF5BEC
RGB
175, 91, 236
HSL
275°, 79%, 64%
CMYK
26%, 61%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF5BEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 91, 236

Red: 175 / Green: 91 / Blue: 236

HSL

275°, 79%, 64%

Hue: 275° / Saturation: 79% / Lightness: 64%

CMYK

26%, 61%, 0%, 7%

Cyan: 26% / Magenta: 61% / Yellow: 0% / Key: 7%

What color is #AF5BEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF5BEC to RGB:

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

HEX to HSL

Convert #AF5BEC to HSL:

hsl(275, 79%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #AF5BEC to CMYK:

cmyk(26%, 61%, 0%, 7%)Color Converter →

Color Meaning and Usage

A eye-catching purple tone, #AF5BEC has RGB (175, 91, 236) and HSL (275°, 79%, 64%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF5BEC is #97EC5B, creating high-contrast pairings. For softer combinations, try analogous colors like #675BEC.

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

Contrast with #AF5BEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF5BEC?

#AF5BEC is a eye-catching purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF5BEC?

#AF5BEC in RGB is (175, 91, 236) - 175 red, 91 green, and 236 blue.

How to use #AF5BEC in CSS?

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

What colors go well with #AF5BEC?

#97EC5B (complementary), #675BEC (analogous), and #8D1AE0 (lighter shade) work well with #AF5BEC.