#AF2ADF Color Information

Hex color code: #AF2ADF

The hex color #AF2ADF is a bold purple with RGB values of (175, 42, 223) and HSL of (284°, 74%, 52%). It is frequently seen in web interfaces.

Try:
Color NameDark Orchid
HEX
#AF2ADF
RGB
175, 42, 223
HSL
284°, 74%, 52%
CMYK
22%, 81%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF2ADF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 42, 223

Red: 175 / Green: 42 / Blue: 223

HSL

284°, 74%, 52%

Hue: 284° / Saturation: 74% / Lightness: 52%

CMYK

22%, 81%, 0%, 13%

Cyan: 22% / Magenta: 81% / Yellow: 0% / Key: 13%

What color is #AF2ADF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF2ADF to RGB:

rgb(175, 42, 223)HEX to RGB Converter →

HEX to HSL

Convert #AF2ADF to HSL:

hsl(284, 74%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #AF2ADF to CMYK:

cmyk(22%, 81%, 0%, 13%)Color Converter →

Color Meaning and Usage

#AF2ADF is a striking purple color with RGB values of 175, 42, 223 and HSL of 284°, 74%, 52%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF2ADF is #5ADF2A, creating high-contrast pairings. For softer combinations, try analogous colors like #542ADF.

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

Contrast with #AF2ADF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF2ADF?

#AF2ADF is a striking purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF2ADF?

#AF2ADF in RGB is (175, 42, 223) - 175 red, 42 green, and 223 blue.

How to use #AF2ADF in CSS?

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

What colors go well with #AF2ADF?

#5ADF2A (complementary), #542ADF (analogous), and #7F19A4 (lighter shade) work well with #AF2ADF.