#A8338A
A medium, moderate magenta closely aligning with Mediumvioletred.
About #A8338A
The precise color #A8338A is an excellent choice for modern design projects. Designers often compare it to the standard color Mediumvioletred. This translates to an RGB value of rgb(168, 51, 138).
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 0% Cyan, 70% Magenta, 18% Yellow, and 34% Black. With a hue angle of 315.4 degrees, it sits comfortably in the magenta spectrum.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#A8338A
RGB168, 51, 138
HSL315.4°, 53.4%, 42.9%
CMYK0%, 70%, 18%, 34%
HSV315.4°, 69.6%, 65.9%
LAB42.0, 56.4, -22.9
XYZ21.9, 12.5, 25.3
Decimal11023242
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.99:1
Text on #FFFFFF
AA
3.51:1
Text on #000000
AA Large
5.73:1
Text on #F8FAFC
AA
2.98:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #A8338A;
}
.text-color {
color: #A8338A;
}
.border-color {
border: 2px solid #A8338A;
}