#AF7CFF
A light, vivid purple closely aligning with Mediumslateblue.
About #AF7CFF
The precise color #AF7CFF is an excellent choice for modern design projects. It is closely associated with the named CSS color Mediumslateblue. This translates to an RGB value of rgb(175, 124, 255).
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 31% Cyan, 51% Magenta, 0% Yellow, and 0% Black. Always request a physical proof before doing a large print run with this exact code.
Contrast ratios determine whether this color is safe for typography. Because it is a light color, it is generally recommended to use #000000 text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#AF7CFF
RGB175, 124, 255
HSL263.4°, 100.0%, 74.3%
CMYK31%, 51%, 0%, 0%
HSV263.4°, 51.4%, 100.0%
LAB62.3, 46.2, -58.3
XYZ42.9, 30.7, 98.3
Decimal11500799
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.94:1
Text on #FFFFFF
FAIL
7.15:1
Text on #000000
AAA
2.81:1
Text on #F8FAFC
FAIL
6.08:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #AF7CFF;
}
.text-color {
color: #AF7CFF;
}
.border-color {
border: 2px solid #AF7CFF;
}