#AF7AEB Color Information

Hex color code: #AF7AEB

The hex color #AF7AEB is a dynamic purple with RGB values of (175, 122, 235) and HSL of (268°, 74%, 70%). It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#AF7AEB
RGB
175, 122, 235
HSL
268°, 74%, 70%
CMYK
26%, 48%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF7AEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 122, 235

Red: 175 / Green: 122 / Blue: 235

HSL

268°, 74%, 70%

Hue: 268° / Saturation: 74% / Lightness: 70%

CMYK

26%, 48%, 0%, 8%

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

What color is #AF7AEB?

#AF7AEB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF7AEB to RGB:

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

HEX to HSL

Convert #AF7AEB to HSL:

hsl(268, 74%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #AF7AEB to CMYK:

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

Color Meaning and Usage

A bold purple tone, #AF7AEB has RGB (175, 122, 235) and HSL (268°, 74%, 70%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF7AEB is #B6EB7A, creating high-contrast pairings. For softer combinations, try analogous colors like #7A7EEB.

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

Contrast with #AF7AEB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF7AEB?

#AF7AEB is a bold purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AF7AEB?

#AF7AEB in RGB is (175, 122, 235) - 175 red, 122 green, and 235 blue.

How to use #AF7AEB in CSS?

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

What colors go well with #AF7AEB?

#B6EB7A (complementary), #7A7EEB (analogous), and #8737E1 (lighter shade) work well with #AF7AEB.