#8B6ECB color
The hex color #8B6ECB is a desaturated violet.
In the RGB color model it is made of 54.5% red, 43.1% green and 79.6% blue (139, 110, 203).
Its hue angle is 259°, with 47% saturation and 61% lightness. For print, the CMYK equivalent is 32% cyan, 46% magenta, 0% yellow and 20% black.
The closest named color is Medium Purple (#9370DB), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.19:1).
#8B6ECB color codes
| HEX | #8B6ECB | |
|---|---|---|
| RGB | rgb(139, 110, 203) | |
| RGB percent | rgb(54.5%, 43.1%, 79.6%) | |
| HSL | hsl(259, 47%, 61%) | |
| HSV / HSB | hsv(259, 46%, 80%) | |
| CMYK | cmyk(32%, 46%, 0%, 20%) | |
| CIE LAB | lab(52.9, 31.71, -44.37) | |
| CIE LCH | lch(52.9, 54.54, 305.56) | |
| CIE XYZ | xyz(27, 20.952, 59.11) | |
| Decimal | 9137867 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8B6ECB, 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 #8B6ECB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.19:1 | Pass | Fail | Pass |
| Sample text | 4.05:1 | Fail | Fail | Pass |
| #8B6ECB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.05:1 | Fail | Fail | Pass |
| Sample text | 5.19:1 | Pass | Fail | Pass |
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 #8B6ECB looks to people with the most common types of color vision deficiency.
#507fceProtanopia
no red cones#567dc9Deuteranopia
no green cones#7d7f93Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #8b6ecb; }
.text { color: #8b6ecb; }
.border { border: 2px solid #8b6ecb; }
.transparent { background-color: rgb(139 110 203 / 50%); }
.gradient { background: linear-gradient(to right, #8b6ecb, #ba6ecb); }
Similar colors
#9370dbMedium Purple#9370dbMatt Purple#8469bcLavish Spending#7a6dc0Venus Violet#9966ccAmethyst#966ebdViola#9d61d4Legendary Lavender#a669dbViolet Voltage
Questions
- What color is #8B6ECB?
- #8B6ECB is a desaturated violet, closest to the named color Medium Purple. It belongs to the purple family of colors.
- What is the RGB value of #8B6ECB?
- The RGB value is 139, 110, 203: 139 red, 110 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of #8B6ECB?
- The complementary color is #AECB6E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8B6ECB?
- Black text. Black text has a contrast ratio of 5.19:1 and white text 4.05:1. WCAG asks for at least 4.5:1 for normal text.