#8A42A0
A medium, moderate magenta closely aligning with Rebeccapurple.
About #8A42A0
The hex code #8A42A0 represents a beautifully specific shade of magenta. Its closest recognized web color is Rebeccapurple. This translates to an RGB value of rgb(138, 66, 160).
When sending designs containing this color to a printer, the CMYK values come into play. To reproduce this shade on paper, a printer utilizes 14% cyan and 59% magenta inks. This makes it a relatively light color when applied to physical surfaces.
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#8A42A0
RGB138, 66, 160
HSL286.0°, 41.6%, 44.3%
CMYK14%, 59%, 0%, 37%
HSV286.0°, 58.7%, 62.7%
LAB41.0, 45.7, -38.2
XYZ18.8, 11.8, 34.6
Decimal9061024
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.24:1
Text on #FFFFFF
AA
3.37:1
Text on #000000
AA Large
5.96:1
Text on #F8FAFC
AA
2.86:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #8A42A0;
}
.text-color {
color: #8A42A0;
}
.border-color {
border: 2px solid #8A42A0;
}