#AF31A8

#AF31A8

Color Values

HEX

#AF31A8

RGB

175, 49, 168

HSL

303.3, 56.2%, 43.9%

HSV

303.3, 72.0%, 68.6%

CMYK

0.0%, 72.0%, 4.0%, 31.4%

OKLCH

0.5483 0.2071 330.4

Properties

Color Psychology

Magenta is a stimulating, attention-commanding color that bridges passion and imagination. It represents transformation, artistic vision, and unconventional thinking. Magenta disrupts expectations and is associated with innovation and bold self-expression.

Design Usage

Medium magentas are powerful for brands that want to project creativity and boldness. They create eye-catching gradients when blended with purple or orange tones. Use sparingly as accent colors for maximum impact in otherwise restrained designs.

Color Harmonies

Color Blindness Simulation

CSS Usage

background-color: #AF31A8;
color: #AF31A8;
border-color: #AF31A8;
Nearest Tailwind: Fuchsia 700 #A21CAF

Tailwind Shades

Contrast Checker

Text on white

5.49:1

AA Pass AAA Fail

Text on black

3.83:1

AA Fail AAA Fail

Compare With

Related Articles

Frequently Asked Questions

What are the RGB, HSL, and CMYK values of #AF31A8?

RGB(175, 49, 168) · HSL(303.3, 56.2%, 43.9%) · CMYK(0.0%, 72.0%, 4.0%, 31.4%)

Does #AF31A8 meet WCAG contrast on white?

5.49:1 — WCAG AA Pass, AAA Fail for normal text.

What text color is readable on #AF31A8?

Use FFFFFF text on a #AF31A8 background; contrast on black is 3.83:1.