#AF42CC
A medium, moderate magenta closely aligning with Mediumorchid.
About #AF42CC
The hex code #AF42CC represents a beautifully specific shade of magenta. Its closest recognized web color is Mediumorchid. This translates to an RGB value of rgb(175, 66, 204).
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 14% C, 68% M, 0% Y, and 20% K. This makes it a relatively light color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#AF42CC
RGB175, 66, 204
HSL287.4°, 57.5%, 52.9%
CMYK14%, 68%, 0%, 20%
HSV287.4°, 67.6%, 80.0%
LAB48.7, 63.4, -51.3
XYZ30.5, 17.4, 58.9
Decimal11485900
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.69:1
Text on #FFFFFF
AA
4.47:1
Text on #000000
AA Large
4.49:1
Text on #F8FAFC
AA Large
3.80:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #AF42CC;
}
.text-color {
color: #AF42CC;
}
.border-color {
border: 2px solid #AF42CC;
}