#8045D8 color

#8045D8 rgb(128, 69, 216)
Shades of purple

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
RGBrgb(128, 69, 216)
RGB percentrgb(50.2%, 27.1%, 84.7%)
HSLhsl(264, 65%, 56%)
HSV / HSBhsv(264, 68%, 85%)
CMYKcmyk(41%, 68%, 0%, 15%)
CIE LABlab(43.95, 55.07, -66.23)
CIE LCHlch(43.95, 86.13, 309.74)
CIE XYZxyz(23.422, 13.803, 66.383)
Decimal8406488
Short hexNone (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 #8045D8RatioAAAAAAA large
Sample text3.76:1FailFailPass
Sample text5.58:1PassFailPass
#8045D8 as text onRatioAAAAAAA large
Sample text5.58:1PassFailPass
Sample text3.76:1FailFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.