#AF62DF Color Information

Hex color code: #AF62DF

#AF62DF is a subtle purple color. In RGB it is (175, 98, 223), and in HSL it is (277°, 66%, 63%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#AF62DF
RGB
175, 98, 223
HSL
277°, 66%, 63%
CMYK
22%, 56%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF62DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 98, 223

Red: 175 / Green: 98 / Blue: 223

HSL

277°, 66%, 63%

Hue: 277° / Saturation: 66% / Lightness: 63%

CMYK

22%, 56%, 0%, 13%

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

What color is #AF62DF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF62DF to RGB:

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

HEX to HSL

Convert #AF62DF to HSL:

hsl(277, 66%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #AF62DF to CMYK:

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

Color Meaning and Usage

A neutral purple tone, #AF62DF has RGB (175, 98, 223) and HSL (277°, 66%, 63%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF62DF is #92DF62, creating high-contrast pairings. For softer combinations, try analogous colors like #7162DF.

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

Contrast with #AF62DF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF62DF?

#AF62DF is a neutral purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF62DF?

#AF62DF in RGB is (175, 98, 223) - 175 red, 98 green, and 223 blue.

How to use #AF62DF in CSS?

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

What colors go well with #AF62DF?

#92DF62 (complementary), #7162DF (analogous), and #8D2ACB (lighter shade) work well with #AF62DF.