#8045D8 color
The hex color #8045D8 is a moderate violet.
In the RGB color model it is made of 50.2% red, 27.1% green and 84.7% blue (128, 69, 216).
Its hue angle is 264°, with 65% saturation and 56% lightness. For print, the CMYK equivalent is 41% cyan, 68% magenta, 0% yellow and 15% black.
The closest named color is Purple Rain (#7442C8), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.58:1).
#8045D8 color codes
| HEX | #8045D8 | |
|---|---|---|
| RGB | rgb(128, 69, 216) | |
| RGB percent | rgb(50.2%, 27.1%, 84.7%) | |
| HSL | hsl(264, 65%, 56%) | |
| HSV / HSB | hsv(264, 68%, 85%) | |
| CMYK | cmyk(41%, 68%, 0%, 15%) | |
| CIE LAB | lab(43.95, 55.07, -66.23) | |
| CIE LCH | lch(43.95, 86.13, 309.74) | |
| CIE XYZ | xyz(23.422, 13.803, 66.383) | |
| Decimal | 8406488 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8045D8, 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 #8045D8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.76:1 | Fail | Fail | Pass |
| Sample text | 5.58:1 | Pass | Fail | Pass |
| #8045D8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.58:1 | Pass | Fail | Pass |
| Sample text | 3.76: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 #8045D8 looks to people with the most common types of color vision deficiency.
#0068dcProtanopia
no red cones#0066d5Deuteranopia
no green cones#6a6889Tritanopia
no blue cones#686868Achromatopsia
no color vision
CSS examples
.background { background-color: #8045d8; }
.text { color: #8045d8; }
.border { border: 2px solid #8045d8; }
.transparent { background-color: rgb(128 69 216 / 50%); }
.gradient { background: linear-gradient(to right, #8045d8, #c945d8); }
Similar colors
#7442c8Purple Rain#7736d9Hokkaido Lavender#8a2be2Blue Violet#9632ceDreamscape Purple#7755eeCandy Grape Fizz#9932ccDark Orchid#8822ccLilac Spring#6a5acdSlate Blue
Questions
- What color is #8045D8?
- #8045D8 is a moderate violet, closest to the named color Purple Rain. It belongs to the purple family of colors.
- What is the RGB value of #8045D8?
- The RGB value is 128, 69, 216: 128 red, 69 green and 216 blue on a 0 to 255 scale.
- What is the complementary color of #8045D8?
- The complementary color is #9DD845, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8045D8?
- White text. Black text has a contrast ratio of 3.76:1 and white text 5.58:1. WCAG asks for at least 4.5:1 for normal text.