#7E2A85 color

#7E2A85 rgb(126, 42, 133)
Shades of purple

The hex color #7E2A85 is a dark, moderate magenta.

In the RGB color model it is made of 49.4% red, 16.5% green and 52.2% blue (126, 42, 133).

Its hue angle is 295°, with 52% saturation and 34% lightness. For print, the CMYK equivalent is 5% cyan, 68% magenta, 0% yellow and 48% black.

The closest named color is Hello Darkness My Old Friend (#802280), a difference of 1.6 ΔE, which is barely visible.

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

#7E2A85 color codes

HEX#7E2A85
RGBrgb(126, 42, 133)
RGB percentrgb(49.4%, 16.5%, 52.2%)
HSLhsl(295, 52%, 34%)
HSV / HSBhsv(295, 68%, 52%)
CMYKcmyk(5%, 68%, 0%, 48%)
CIE LABlab(33.53, 48.43, -33.66)
CIE LCHlch(33.53, 58.98, 325.21)
CIE XYZxyz(13.665, 7.786, 22.969)
Decimal8268421
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7E2A85, 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 #7E2A85RatioAAAAAAA large
Sample text2.56:1FailFailFail
Sample text8.21:1PassPassPass
#7E2A85 as text onRatioAAAAAAA large
Sample text8.21:1PassPassPass
Sample text2.56:1FailFailFail

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 #7E2A85 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7e2a85; }
.text { color: #7e2a85; }
.border { border: 2px solid #7e2a85; }
.transparent { background-color: rgb(126 42 133 / 50%); }
.gradient { background: linear-gradient(to right, #7e2a85, #852a5e); }
Background
Text color
Border

Similar colors

Questions

What color is #7E2A85?
#7E2A85 is a dark, moderate magenta, closest to the named color Hello Darkness My Old Friend. It belongs to the purple family of colors.
What is the RGB value of #7E2A85?
The RGB value is 126, 42, 133: 126 red, 42 green and 133 blue on a 0 to 255 scale.
What is the complementary color of #7E2A85?
The complementary color is #31852A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E2A85?
White text. Black text has a contrast ratio of 2.56:1 and white text 8.21:1. WCAG asks for at least 4.5:1 for normal text.