#9D4DCB color

#9D4DCB rgb(157, 77, 203)
Shades of purple

The hex color #9D4DCB is a moderate violet.

In the RGB color model it is made of 61.6% red, 30.2% green and 79.6% blue (157, 77, 203).

Its hue angle is 278°, with 55% saturation and 55% lightness. For print, the CMYK equivalent is 23% cyan, 62% magenta, 0% yellow and 20% black.

The closest named color is Magenta Affair (#AA44DD), a difference of 3.2 ΔE, a small difference.

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

#9D4DCB color codes

HEX#9D4DCB
RGBrgb(157, 77, 203)
RGB percentrgb(61.6%, 30.2%, 79.6%)
HSLhsl(278, 55%, 55%)
HSV / HSBhsv(278, 62%, 80%)
CMYKcmyk(23%, 62%, 0%, 20%)
CIE LABlab(47.99, 54.21, -52.06)
CIE LCHlch(47.99, 75.16, 316.16)
CIE XYZxyz(27.336, 16.788, 58.289)
Decimal10309067
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9D4DCB, 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 #9D4DCBRatioAAAAAAA large
Sample text4.36:1FailFailPass
Sample text4.82:1PassFailPass
#9D4DCB as text onRatioAAAAAAA large
Sample text4.82:1PassFailPass
Sample text4.36: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 #9D4DCB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9d4dcb; }
.text { color: #9d4dcb; }
.border { border: 2px solid #9d4dcb; }
.transparent { background-color: rgb(157 77 203 / 50%); }
.gradient { background: linear-gradient(to right, #9d4dcb, #cb4dba); }
Background
Text color
Border

Similar colors

Questions

What color is #9D4DCB?
#9D4DCB is a moderate violet, closest to the named color Magenta Affair. It belongs to the purple family of colors.
What is the RGB value of #9D4DCB?
The RGB value is 157, 77, 203: 157 red, 77 green and 203 blue on a 0 to 255 scale.
What is the complementary color of #9D4DCB?
The complementary color is #7BCB4D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9D4DCB?
White text. Black text has a contrast ratio of 4.36:1 and white text 4.82:1. WCAG asks for at least 4.5:1 for normal text.