#804EB2 color

#804EB2 rgb(128, 78, 178)
Shades of purple

The hex color #804EB2 is a desaturated violet.

In the RGB color model it is made of 50.2% red, 30.6% green and 69.8% blue (128, 78, 178).

Its hue angle is 270°, with 39% saturation and 50% lightness. For print, the CMYK equivalent is 28% cyan, 56% magenta, 0% yellow and 30% black.

The closest named color is Royal Purple (#7851A9), a difference of 2.3 ΔE, a small difference.

White text is the more readable choice on this background (contrast 5.75:1).

#804EB2 color codes

HEX#804EB2
RGBrgb(128, 78, 178)
RGB percentrgb(50.2%, 30.6%, 69.8%)
HSLhsl(270, 39%, 50%)
HSV / HSBhsv(270, 56%, 70%)
CMYKcmyk(28%, 56%, 0%, 30%)
CIE LABlab(43.14, 40.78, -45.48)
CIE LCHlch(43.14, 61.09, 311.88)
CIE XYZxyz(19.661, 13.252, 43.633)
Decimal8408754
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #804EB2, 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 #804EB2RatioAAAAAAA large
Sample text3.65:1FailFailPass
Sample text5.75:1PassFailPass
#804EB2 as text onRatioAAAAAAA large
Sample text5.75:1PassFailPass
Sample text3.65: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 #804EB2 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #804eb2; }
.text { color: #804eb2; }
.border { border: 2px solid #804eb2; }
.transparent { background-color: rgb(128 78 178 / 50%); }
.gradient { background: linear-gradient(to right, #804eb2, #b24eb2); }
Background
Text color
Border

Similar colors

Questions

What color is #804EB2?
#804EB2 is a desaturated violet, closest to the named color Royal Purple. It belongs to the purple family of colors.
What is the RGB value of #804EB2?
The RGB value is 128, 78, 178: 128 red, 78 green and 178 blue on a 0 to 255 scale.
What is the complementary color of #804EB2?
The complementary color is #80B24E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #804EB2?
White text. Black text has a contrast ratio of 3.65:1 and white text 5.75:1. WCAG asks for at least 4.5:1 for normal text.