#AF00D6 Color Information

Hex color code: #AF00D6

The hex color #AF00D6 is a eye-catching magenta with RGB values of (175, 0, 214) and HSL of (289°, 100%, 42%). It is popular in mobile app design.

Try:
Color NameDark Violet
HEX
#AF00D6
RGB
175, 0, 214
HSL
289°, 100%, 42%
CMYK
18%, 100%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF00D6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 0, 214

Red: 175 / Green: 0 / Blue: 214

HSL

289°, 100%, 42%

Hue: 289° / Saturation: 100% / Lightness: 42%

CMYK

18%, 100%, 0%, 16%

Cyan: 18% / Magenta: 100% / Yellow: 0% / Key: 16%

What color is #AF00D6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF00D6 to RGB:

rgb(175, 0, 214)HEX to RGB Converter →

HEX to HSL

Convert #AF00D6 to HSL:

hsl(289, 100%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #AF00D6 to CMYK:

cmyk(18%, 100%, 0%, 16%)Color Converter →

Color Meaning and Usage

#AF00D6 is a striking magenta color with RGB values of 175, 0, 214 and HSL of 289°, 100%, 42%. This highly saturated hue evokes energy and excitement, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF00D6 is #27D600, creating high-contrast pairings. For softer combinations, try analogous colors like #4400D6.

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

Contrast with #AF00D6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF00D6?

#AF00D6 is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AF00D6?

#AF00D6 in RGB is (175, 0, 214) - 175 red, 0 green, and 214 blue.

How to use #AF00D6 in CSS?

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

What colors go well with #AF00D6?

#27D600 (complementary), #4400D6 (analogous), and #70008A (lighter shade) work well with #AF00D6.