#AF57BD

A medium, moderate magenta closely aligning with Mediumorchid.

About #AF57BD

The hex code #AF57BD represents a beautifully specific shade of magenta. If you're using CSS, you might find it aligns closely with Mediumorchid. In the RGB color space, it consists of 175 red, 87 green, and 189 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 7% Cyan, 54% Magenta, 0% Yellow, and 26% Black. With a hue angle of 291.8 degrees, it sits comfortably in the magenta spectrum.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #000000 typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AF57BD
RGB175, 87, 189
HSL291.8°, 43.6%, 54.1%
CMYK7%, 54%, 0%, 26%
HSV291.8°, 54.0%, 74.1%
LAB51.4, 51.0, -38.5
XYZ30.3, 19.6, 50.3
Decimal11491261

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

4.27:1
Text on #FFFFFF
AA Large
4.92:1
Text on #000000
AA
4.08:1
Text on #F8FAFC
AA Large
4.18:1
Text on #0F172A
AA Large

CSS Implementation

.bg-color { background-color: #AF57BD; }
.text-color { color: #AF57BD; }
.border-color { border: 2px solid #AF57BD; }

Similar Colors

Mediumorchid
#BA55D3