#8A3287 color
The hex color #8A3287 is a dark, desaturated magenta.
In the RGB color model it is made of 54.1% red, 19.6% green and 52.9% blue (138, 50, 135).
Its hue angle is 302°, with 47% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 64% magenta, 2% yellow and 46% black.
The closest named color is Purple Sultan (#853682), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.27:1).
#8A3287 color codes
| HEX | #8A3287 | |
|---|---|---|
| RGB | rgb(138, 50, 135) | |
| RGB percent | rgb(54.1%, 19.6%, 52.9%) | |
| HSL | hsl(302, 47%, 37%) | |
| HSV / HSB | hsv(302, 64%, 54%) | |
| CMYK | cmyk(0%, 64%, 2%, 46%) | |
| CIE LAB | lab(36.81, 48.43, -29.59) | |
| CIE LCH | lch(36.81, 56.75, 328.57) | |
| CIE XYZ | xyz(15.995, 9.435, 23.896) | |
| Decimal | 9056903 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A3287, 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 #8A3287 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.89:1 | Fail | Fail | Fail |
| Sample text | 7.27:1 | Pass | Pass | Pass |
| #8A3287 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.27:1 | Pass | Pass | Pass |
| Sample text | 2.89:1 | Fail | Fail | Fail |
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 #8A3287 looks to people with the most common types of color vision deficiency.
#294f8aProtanopia
no red cones#485b85Deuteranopia
no green cones#8f3c58Tritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #8a3287; }
.text { color: #8a3287; }
.border { border: 2px solid #8a3287; }
.transparent { background-color: rgb(138 50 135 / 50%); }
.gradient { background: linear-gradient(to right, #8a3287, #8a325b); }
Similar colors
#853682Purple Sultan#952e8fWarm Purple#943589Purple Excellency#883377Violet Vixen#802280Hello Darkness My Old Friend#871f78Noble Plum#9a2ca0Purple Ink#864788Prunella
Closest common color name: Plum.
Questions
- What color is #8A3287?
- #8A3287 is a dark, desaturated magenta, closest to the named color Purple Sultan. It belongs to the purple family of colors.
- What is the RGB value of #8A3287?
- The RGB value is 138, 50, 135: 138 red, 50 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #8A3287?
- The complementary color is #328A35, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A3287?
- White text. Black text has a contrast ratio of 2.89:1 and white text 7.27:1. WCAG asks for at least 4.5:1 for normal text.