#AF42B6

A medium, moderate magenta closely aligning with Mediumorchid.

About #AF42B6

The precise color #AF42B6 is an excellent choice for modern design projects. Its closest recognized web color is Mediumorchid. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 66, and 182.

When sending designs containing this color to a printer, the CMYK values come into play. The color uses 4% Cyan, 64% Magenta, 0% Yellow, and 29% Black. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#AF42B6
RGB175, 66, 182
HSL296.4°, 46.8%, 48.6%
CMYK4%, 64%, 0%, 29%
HSV296.4°, 63.7%, 71.4%
LAB47.5, 59.4, -40.6
XYZ28.1, 16.4, 45.9
Decimal11485878

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

4.91:1
Text on #FFFFFF
AA
4.28:1
Text on #000000
AA Large
4.69:1
Text on #F8FAFC
AA
3.64:1
Text on #0F172A
AA Large

CSS Implementation

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

Similar Colors

Mediumorchid
#BA55D3