#8A42A8
A medium, moderate purple closely aligning with Rebeccapurple.
About #8A42A8
At its core, #8A42A8 is a medium and moderate hue. Its closest recognized web color is Rebeccapurple. To achieve this exact tint on a monitor, you would use an RGB mix of 138, 66, and 168.
Translating this color to physical media requires the CMYK color model. The color uses 18% Cyan, 61% Magenta, 0% Yellow, and 34% Black. With a hue angle of 282.4 degrees, it sits comfortably in the purple spectrum.
When using this color as a background, text legibility must be considered. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#8A42A8
RGB138, 66, 168
HSL282.4°, 43.6%, 45.9%
CMYK18%, 61%, 0%, 34%
HSV282.4°, 60.7%, 65.9%
LAB41.4, 47.4, -42.3
XYZ19.5, 12.1, 38.4
Decimal9061032
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.13:1
Text on #FFFFFF
AA
3.43:1
Text on #000000
AA Large
5.86:1
Text on #F8FAFC
AA
2.91:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #8A42A8;
}
.text-color {
color: #8A42A8;
}
.border-color {
border: 2px solid #8A42A8;
}