#AF6DEB Color Information

Hex color code: #AF6DEB

A striking purple shade, #AF6DEB appears as (175, 109, 235) in RGB and (271°, 76%, 67%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#AF6DEB
RGB
175, 109, 235
HSL
271°, 76%, 67%
CMYK
26%, 54%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF6DEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 109, 235

Red: 175 / Green: 109 / Blue: 235

HSL

271°, 76%, 67%

Hue: 271° / Saturation: 76% / Lightness: 67%

CMYK

26%, 54%, 0%, 8%

Cyan: 26% / Magenta: 54% / Yellow: 0% / Key: 8%

What color is #AF6DEB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF6DEB to RGB:

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

HEX to HSL

Convert #AF6DEB to HSL:

hsl(271, 76%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #AF6DEB to CMYK:

cmyk(26%, 54%, 0%, 8%)Color Converter →

Color Meaning and Usage

#AF6DEB is a dynamic purple color with RGB values of 175, 109, 235 and HSL of 271°, 76%, 67%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF6DEB is #A9EB6B, creating high-contrast pairings. For softer combinations, try analogous colors like #6D6BEB.

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

Contrast with #AF6DEB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF6DEB?

#AF6DEB is a dynamic purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF6DEB?

#AF6DEB in RGB is (175, 109, 235) - 175 red, 109 green, and 235 blue.

How to use #AF6DEB in CSS?

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

What colors go well with #AF6DEB?

#A9EB6B (complementary), #6D6BEB (analogous), and #8828E2 (lighter shade) work well with #AF6DEB.