#8A338A
A dark, moderate magenta closely aligning with Purple.
About #8A338A
The hex code #8A338A represents a beautifully specific shade of magenta. Its closest recognized web color is Purple. Its digital footprint relies on 138 parts red, 51 parts green, and 138 parts blue light.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 63% Magenta, 0% Yellow, and 46% Black. The HSL representation is 300.0° hue, 46.0% saturation, and 37.1% lightness.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#8A338A
RGB138, 51, 138
HSL300.0°, 46.0%, 37.1%
CMYK0%, 63%, 0%, 46%
HSV300.0°, 63.0%, 54.1%
LAB37.1, 48.5, -30.9
XYZ16.3, 9.6, 25.0
Decimal9057162
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.19:1
Text on #FFFFFF
AAA
2.92:1
Text on #000000
FAIL
6.87:1
Text on #F8FAFC
AA
2.48:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #8A338A;
}
.text-color {
color: #8A338A;
}
.border-color {
border: 2px solid #8A338A;
}