#AF07E2
A medium, vivid magenta closely aligning with Darkviolet.
About #AF07E2
Visually, #AF07E2 is defined as a vivid magenta. If you're using CSS, you might find it aligns closely with Darkviolet. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 7, and 226.
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 23% C, 97% M, 0% Y, and 11% K. This makes it a relatively light color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#AF07E2
RGB175, 7, 226
HSL286.0°, 94.0%, 45.7%
CMYK23%, 97%, 0%, 11%
HSV286.0°, 96.9%, 88.6%
LAB45.3, 81.7, -69.5
XYZ31.5, 14.8, 73.1
Decimal11470818
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.31:1
Text on #FFFFFF
AA
3.95:1
Text on #000000
AA Large
5.08:1
Text on #F8FAFC
AA
3.36:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #AF07E2;
}
.text-color {
color: #AF07E2;
}
.border-color {
border: 2px solid #AF07E2;
}