#8A5F6D
A medium, muted magenta closely aligning with Dimgray.
About #8A5F6D
When working with digital screens, the color #8A5F6D is rendered by mixing light. If you're using CSS, you might find it aligns closely with Dimgray. To achieve this exact tint on a monitor, you would use an RGB mix of 138, 95, and 109.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 0% C, 31% M, 21% Y, and 46% K. The HSL representation is 340.5° hue, 18.5% saturation, and 45.7% lightness.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#8A5F6D
RGB138, 95, 109
HSL340.5°, 18.5%, 45.7%
CMYK0%, 31%, 21%, 46%
HSV340.5°, 31.2%, 54.1%
LAB45.2, 19.7, -0.9
XYZ17.3, 14.7, 16.4
Decimal9068397
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.33:1
Text on #FFFFFF
AA
3.94:1
Text on #000000
AA Large
5.10:1
Text on #F8FAFC
AA
3.35:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #8A5F6D;
}
.text-color {
color: #8A5F6D;
}
.border-color {
border: 2px solid #8A5F6D;
}