#8A6BCB color
The hex color #8A6BCB is a desaturated violet.
In the RGB color model it is made of 54.1% red, 42% green and 79.6% blue (138, 107, 203).
Its hue angle is 259°, with 48% saturation and 61% lightness. For print, the CMYK equivalent is 32% cyan, 47% magenta, 0% yellow and 20% black.
The closest named color is Lavish Spending (#8469BC), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.05:1).
#8A6BCB color codes
| HEX | #8A6BCB | |
|---|---|---|
| RGB | rgb(138, 107, 203) | |
| RGB percent | rgb(54.1%, 42%, 79.6%) | |
| HSL | hsl(259, 48%, 61%) | |
| HSV / HSB | hsv(259, 47%, 80%) | |
| CMYK | cmyk(32%, 47%, 0%, 20%) | |
| CIE LAB | lab(52.1, 33.19, -45.64) | |
| CIE LCH | lch(52.1, 56.43, 306.02) | |
| CIE XYZ | xyz(26.516, 20.23, 58.996) | |
| Decimal | 9071563 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A6BCB, 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 #8A6BCB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.05:1 | Pass | Fail | Pass |
| Sample text | 4.16:1 | Fail | Fail | Pass |
| #8A6BCB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.16:1 | Fail | Fail | Pass |
| Sample text | 5.05: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 #8A6BCB looks to people with the most common types of color vision deficiency.
#4b7dceProtanopia
no red cones#527bc9Deuteranopia
no green cones#7c7d91Tritanopia
no blue cones#7c7c7cAchromatopsia
no color vision
CSS examples
.background { background-color: #8a6bcb; }
.text { color: #8a6bcb; }
.border { border: 2px solid #8a6bcb; }
.transparent { background-color: rgb(138 107 203 / 50%); }
.gradient { background: linear-gradient(to right, #8a6bcb, #ba6bcb); }
Similar colors
#8469bcLavish Spending#9370dbMedium Purple#9370dbMatt Purple#9966ccAmethyst#7a6dc0Venus Violet#966ebdViola#9d61d4Legendary Lavender#a669dbViolet Voltage
Questions
- What color is #8A6BCB?
- #8A6BCB is a desaturated violet, closest to the named color Lavish Spending. It belongs to the purple family of colors.
- What is the RGB value of #8A6BCB?
- The RGB value is 138, 107, 203: 138 red, 107 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of #8A6BCB?
- The complementary color is #ACCB6B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A6BCB?
- Black text. Black text has a contrast ratio of 5.05:1 and white text 4.16:1. WCAG asks for at least 4.5:1 for normal text.