#9D25A6 color

#9D25A6 rgb(157, 37, 166)
Shades of purple

The hex color #9D25A6 is a moderate magenta.

In the RGB color model it is made of 61.6% red, 14.5% green and 65.1% blue (157, 37, 166).

Its hue angle is 296°, with 64% saturation and 40% lightness. For print, the CMYK equivalent is 5% cyan, 78% magenta, 0% yellow and 35% black.

The closest named color is Purple Ink (#9A2CA0), a difference of 1.2 ΔE, which is barely visible.

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

#9D25A6 color codes

HEX#9D25A6
RGBrgb(157, 37, 166)
RGB percentrgb(61.6%, 14.5%, 65.1%)
HSLhsl(296, 64%, 40%)
HSV / HSBhsv(296, 78%, 65%)
CMYKcmyk(5%, 78%, 0%, 35%)
CIE LABlab(39.99, 63.07, -43.17)
CIE LCHlch(39.99, 76.42, 325.61)
CIE XYZxyz(21.449, 11.246, 37.11)
Decimal10298790
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9D25A6, 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 #9D25A6RatioAAAAAAA large
Sample text3.25:1FailFailPass
Sample text6.46:1PassFailPass
#9D25A6 as text onRatioAAAAAAA large
Sample text6.46:1PassFailPass
Sample text3.25: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 #9D25A6 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9d25a6; }
.text { color: #9d25a6; }
.border { border: 2px solid #9d25a6; }
.transparent { background-color: rgb(157 37 166 / 50%); }
.gradient { background: linear-gradient(to right, #9d25a6, #a6256e); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Magenta.

Questions

What color is #9D25A6?
#9D25A6 is a moderate magenta, closest to the named color Purple Ink. It belongs to the purple family of colors.
What is the RGB value of #9D25A6?
The RGB value is 157, 37, 166: 157 red, 37 green and 166 blue on a 0 to 255 scale.
What is the complementary color of #9D25A6?
The complementary color is #2EA625, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9D25A6?
White text. Black text has a contrast ratio of 3.25:1 and white text 6.46:1. WCAG asks for at least 4.5:1 for normal text.