#AF57FF
A light, vivid purple closely aligning with Blueviolet.
About #AF57FF
At its core, #AF57FF is a light and vivid hue. It is closely associated with the named CSS color Blueviolet. Its digital footprint relies on 175 parts red, 87 parts green, and 255 parts blue light.
Translating this color to physical media requires the CMYK color model. The color uses 31% Cyan, 66% Magenta, 0% Yellow, and 0% Black. The HSL representation is 271.4° hue, 100.0% saturation, and 67.1% lightness.
Contrast ratios determine whether this color is safe for typography. Because it is a light color, it is generally recommended to use #000000 text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#AF57FF
RGB175, 87, 255
HSL271.4°, 100.0%, 67.1%
CMYK31%, 66%, 0%, 0%
HSV271.4°, 65.9%, 100.0%
LAB55.2, 65.0, -69.6
XYZ39.1, 23.2, 97.0
Decimal11491327
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.73:1
Text on #FFFFFF
AA Large
5.63:1
Text on #000000
AA
3.56:1
Text on #F8FAFC
AA Large
4.79:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #AF57FF;
}
.text-color {
color: #AF57FF;
}
.border-color {
border: 2px solid #AF57FF;
}