#AF0FFF Color Information

Hex color code: #AF0FFF

A bold purple shade, #AF0FFF appears as (175, 15, 255) in RGB and (280°, 100%, 53%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Violet
HEX
#AF0FFF
RGB
175, 15, 255
HSL
280°, 100%, 53%
CMYK
31%, 94%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF0FFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 15, 255

Red: 175 / Green: 15 / Blue: 255

HSL

280°, 100%, 53%

Hue: 280° / Saturation: 100% / Lightness: 53%

CMYK

31%, 94%, 0%, 0%

Cyan: 31% / Magenta: 94% / Yellow: 0% / Key: 0%

What color is #AF0FFF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF0FFF to RGB:

rgb(175, 15, 255)HEX to RGB Converter →

HEX to HSL

Convert #AF0FFF to HSL:

hsl(280, 100%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #AF0FFF to CMYK:

cmyk(31%, 94%, 0%, 0%)Color Converter →

Color Meaning and Usage

#AF0FFF is a eye-catching purple color with RGB values of 175, 15, 255 and HSL of 280°, 100%, 53%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF0FFF is #5FFF0F, creating high-contrast pairings. For softer combinations, try analogous colors like #370FFF.

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

Contrast with #AF0FFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF0FFF?

#AF0FFF is a eye-catching purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AF0FFF?

#AF0FFF in RGB is (175, 15, 255) - 175 red, 15 green, and 255 blue.

How to use #AF0FFF in CSS?

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

What colors go well with #AF0FFF?

#5FFF0F (complementary), #370FFF (analogous), and #8100C2 (lighter shade) work well with #AF0FFF.