#AF92EC Color Information

Hex color code: #AF92EC

The hex color #AF92EC is a serene purple with RGB values of (175, 146, 236) and HSL of (259°, 70%, 75%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#AF92EC
RGB
175, 146, 236
HSL
259°, 70%, 75%
CMYK
26%, 38%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF92EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 146, 236

Red: 175 / Green: 146 / Blue: 236

HSL

259°, 70%, 75%

Hue: 259° / Saturation: 70% / Lightness: 75%

CMYK

26%, 38%, 0%, 7%

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

What color is #AF92EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF92EC to RGB:

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

HEX to HSL

Convert #AF92EC to HSL:

hsl(259, 70%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #AF92EC to CMYK:

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

Color Meaning and Usage

A tranquil purple tone, #AF92EC has RGB (175, 146, 236) and HSL (259°, 70%, 75%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF92EC is #D0EC93, creating high-contrast pairings. For softer combinations, try analogous colors like #93A3EC.

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

Contrast with #AF92EC

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

Contrast Ratio: 8.15:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF92EC?

#AF92EC is a tranquil purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AF92EC?

#AF92EC in RGB is (175, 146, 236) - 175 red, 146 green, and 236 blue.

How to use #AF92EC in CSS?

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

What colors go well with #AF92EC?

#D0EC93 (complementary), #93A3EC (analogous), and #7F52E0 (lighter shade) work well with #AF92EC.