#8A166D

A dark, vivid magenta closely aligning with Purple.

About #8A166D

The hex code #8A166D represents a beautifully specific shade of magenta. If you're using CSS, you might find it aligns closely with Purple. In the RGB color space, it consists of 138 red, 22 green, and 109 blue.

When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 0% C, 84% M, 21% Y, and 46% K. This makes it a relatively light color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. 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#8A166D
RGB138, 22, 109
HSL315.0°, 72.5%, 31.4%
CMYK0%, 84%, 21%, 46%
HSV315.0°, 84.1%, 54.1%
LAB32.0, 54.2, -20.8
XYZ13.5, 7.1, 15.1
Decimal9049709

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

8.69:1
Text on #FFFFFF
AAA
2.42:1
Text on #000000
FAIL
8.31:1
Text on #F8FAFC
AAA
2.05:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #8A166D; }
.text-color { color: #8A166D; }
.border-color { border: 2px solid #8A166D; }

Similar Colors

Purple
#800080