#AF2EEA Color Information

Hex color code: #AF2EEA

#AF2EEA is a striking purple color. In RGB it is (175, 46, 234), and in HSL it is (281°, 82%, 55%). It is popular in mobile app design.

Try:
Color NameDark Orchid
HEX
#AF2EEA
RGB
175, 46, 234
HSL
281°, 82%, 55%
CMYK
25%, 80%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AF2EEA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #AF2EEA; color: #FFFFFF; }

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 #AF2EEA; background-color: #AF2EEA15; }

Alert / Toast

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

Link / Accent

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

a { color: #AF2EEA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 46, 234

Red: 175 / Green: 46 / Blue: 234

HSL

281°, 82%, 55%

Hue: 281° / Saturation: 82% / Lightness: 55%

CMYK

25%, 80%, 0%, 8%

Cyan: 25% / Magenta: 80% / Yellow: 0% / Key: 8%

What color is #AF2EEA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF2EEA to RGB:

rgb(175, 46, 234)HEX to RGB Converter →

HEX to HSL

Convert #AF2EEA to HSL:

hsl(281, 82%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #AF2EEA to CMYK:

cmyk(25%, 80%, 0%, 8%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #AF2EEA has RGB (175, 46, 234) and HSL (281°, 82%, 55%). Known for evoking energy and excitement, this highly saturated hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF2EEA is #6AEA2E, creating high-contrast pairings. For softer combinations, try analogous colors like #512EEA.

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

Contrast with #AF2EEA

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

Contrast Ratio: 4.40:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF2EEA?

#AF2EEA is a dynamic purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AF2EEA?

#AF2EEA in RGB is (175, 46, 234) - 175 red, 46 green, and 234 blue.

How to use #AF2EEA in CSS?

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

What colors go well with #AF2EEA?

#6AEA2E (complementary), #512EEA (analogous), and #8512BA (lighter shade) work well with #AF2EEA.