#8F52CB color
The hex color #8F52CB is a moderate violet.
In the RGB color model it is made of 56.1% red, 32.2% green and 79.6% blue (143, 82, 203).
Its hue angle is 270°, with 54% saturation and 56% lightness. For print, the CMYK equivalent is 30% cyan, 60% magenta, 0% yellow and 20% black.
The closest named color is Magenta Affair (#AA44DD), a difference of 5.2 ΔE.
White text is the more readable choice on this background (contrast 4.96:1).
#8F52CB color codes
| HEX | #8F52CB | |
|---|---|---|
| RGB | rgb(143, 82, 203) | |
| RGB percent | rgb(56.1%, 32.2%, 79.6%) | |
| HSL | hsl(270, 54%, 56%) | |
| HSV / HSB | hsv(270, 60%, 80%) | |
| CMYK | cmyk(30%, 60%, 0%, 20%) | |
| CIE LAB | lab(47.22, 48.39, -53.4) | |
| CIE LCH | lch(47.22, 72.06, 312.18) | |
| CIE XYZ | xyz(25.122, 16.186, 58.289) | |
| Decimal | 9392843 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8F52CB, 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 #8F52CB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.24:1 | Fail | Fail | Pass |
| Sample text | 4.96:1 | Pass | Fail | Pass |
| #8F52CB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.96:1 | Pass | Fail | Pass |
| Sample text | 4.24:1 | Fail | 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 #8F52CB looks to people with the most common types of color vision deficiency.
#176ecfProtanopia
no red cones#3670c8Deuteranopia
no green cones#846a87Tritanopia
no blue cones#707070Achromatopsia
no color vision
CSS examples
.background { background-color: #8f52cb; }
.text { color: #8f52cb; }
.border { border: 2px solid #8f52cb; }
.transparent { background-color: rgb(143 82 203 / 50%); }
.gradient { background: linear-gradient(to right, #8f52cb, #cb52cb); }
Similar colors
#aa44ddMagenta Affair#9d61d4Legendary Lavender#9f4cb7Fuchsia Pheromone#9966ccAmethyst#9932ccDark Orchid#9632ceDreamscape Purple#7851a9Royal Purple#7851a9Royal Lavender
Questions
- What color is #8F52CB?
- #8F52CB is a moderate violet, closest to the named color Magenta Affair. It belongs to the purple family of colors.
- What is the RGB value of #8F52CB?
- The RGB value is 143, 82, 203: 143 red, 82 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of #8F52CB?
- The complementary color is #8ECB52, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8F52CB?
- White text. Black text has a contrast ratio of 4.24:1 and white text 4.96:1. WCAG asks for at least 4.5:1 for normal text.