#8A2158 color

#8A2158 rgb(138, 33, 88)
Shades of purple

The hex color #8A2158 is a dark, moderate rose.

In the RGB color model it is made of 54.1% red, 12.9% green and 34.5% blue (138, 33, 88).

Its hue angle is 329°, with 61% saturation and 34% lightness. For print, the CMYK equivalent is 0% cyan, 76% magenta, 36% yellow and 46% black.

The closest named color is Pink Horror (#90305D), a difference of 3.1 ΔE, a small difference.

White text is the more readable choice on this background (contrast 8.61:1).

#8A2158 color codes

HEX#8A2158
RGBrgb(138, 33, 88)
RGB percentrgb(54.1%, 12.9%, 34.5%)
HSLhsl(329, 61%, 34%)
HSV / HSBhsv(329, 76%, 54%)
CMYKcmyk(0%, 76%, 36%, 46%)
CIE LABlab(32.25, 48.22, -6.88)
CIE LCHlch(32.25, 48.71, 351.88)
CIE XYZxyz(12.787, 7.197, 9.946)
Decimal9052504
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8A2158, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #8A2158RatioAAAAAAA large
Sample text2.44:1FailFailFail
Sample text8.61:1PassPassPass
#8A2158 as text onRatioAAAAAAA large
Sample text8.61:1PassPassPass
Sample text2.44:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #8A2158 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8a2158; }
.text { color: #8a2158; }
.border { border: 2px solid #8a2158; }
.transparent { background-color: rgb(138 33 88 / 50%); }
.gradient { background: linear-gradient(to right, #8a2158, #8a2123); }
Background
Text color
Border

Similar colors

Closest common color name: Byzantium.

Questions

What color is #8A2158?
#8A2158 is a dark, moderate rose, closest to the named color Pink Horror. It belongs to the purple family of colors.
What is the RGB value of #8A2158?
The RGB value is 138, 33, 88: 138 red, 33 green and 88 blue on a 0 to 255 scale.
What is the complementary color of #8A2158?
The complementary color is #218A53, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A2158?
White text. Black text has a contrast ratio of 2.44:1 and white text 8.61:1. WCAG asks for at least 4.5:1 for normal text.