#AF46EC Color Information

Hex color code: #AF46EC

#AF46EC is a dynamic purple color. In RGB it is (175, 70, 236), and in HSL it is (278°, 81%, 60%). It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#AF46EC
RGB
175, 70, 236
HSL
278°, 81%, 60%
CMYK
26%, 70%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF46EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 70, 236

Red: 175 / Green: 70 / Blue: 236

HSL

278°, 81%, 60%

Hue: 278° / Saturation: 81% / Lightness: 60%

CMYK

26%, 70%, 0%, 7%

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

What color is #AF46EC?

#AF46EC is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF46EC to RGB:

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

HEX to HSL

Convert #AF46EC to HSL:

hsl(278, 81%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #AF46EC to CMYK:

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

Color Meaning and Usage

#AF46EC is a bold purple color with RGB values of 175, 70, 236 and HSL of 278°, 81%, 60%. This highly saturated hue evokes energy and excitement, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF46EC is #83EC46, creating high-contrast pairings. For softer combinations, try analogous colors like #5C46EC.

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

Contrast with #AF46EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF46EC?

#AF46EC is a bold purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AF46EC?

#AF46EC in RGB is (175, 70, 236) - 175 red, 70 green, and 236 blue.

How to use #AF46EC in CSS?

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

What colors go well with #AF46EC?

#83EC46 (complementary), #5C46EC (analogous), and #8C16D0 (lighter shade) work well with #AF46EC.