#7B5F98 color

#7B5F98 rgb(123, 95, 152)
Shades of purple

The hex color #7B5F98 is a grayish violet.

In the RGB color model it is made of 48.2% red, 37.3% green and 59.6% blue (123, 95, 152).

Its hue angle is 269°, with 23% saturation and 48% lightness. For print, the CMYK equivalent is 19% cyan, 38% magenta, 0% yellow and 40% black.

The closest named color is Passion Flower (#6F5698), a difference of 4.2 ΔE, a small difference.

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

#7B5F98 color codes

HEX#7B5F98
RGBrgb(123, 95, 152)
RGB percentrgb(48.2%, 37.3%, 59.6%)
HSLhsl(269, 23%, 48%)
HSV / HSBhsv(269, 38%, 60%)
CMYKcmyk(19%, 38%, 0%, 40%)
CIE LABlab(45.17, 23.09, -26.93)
CIE LCHlch(45.17, 35.47, 310.6)
CIE XYZxyz(17.927, 14.662, 31.585)
Decimal8085400
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7b5f98; }
.text { color: #7b5f98; }
.border { border: 2px solid #7b5f98; }
.transparent { background-color: rgb(123 95 152 / 50%); }
.gradient { background: linear-gradient(to right, #7b5f98, #975f98); }
Background
Text color
Border

Similar colors

Closest common color name: Royal Purple.

Questions

What color is #7B5F98?
#7B5F98 is a grayish violet, closest to the named color Passion Flower. It belongs to the purple family of colors.
What is the RGB value of #7B5F98?
The RGB value is 123, 95, 152: 123 red, 95 green and 152 blue on a 0 to 255 scale.
What is the complementary color of #7B5F98?
The complementary color is #7C985F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7B5F98?
White text. Black text has a contrast ratio of 3.93:1 and white text 5.34:1. WCAG asks for at least 4.5:1 for normal text.