#9D25A6 color
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 | |
|---|---|---|
| RGB | rgb(157, 37, 166) | |
| RGB percent | rgb(61.6%, 14.5%, 65.1%) | |
| HSL | hsl(296, 64%, 40%) | |
| HSV / HSB | hsv(296, 78%, 65%) | |
| CMYK | cmyk(5%, 78%, 0%, 35%) | |
| CIE LAB | lab(39.99, 63.07, -43.17) | |
| CIE LCH | lch(39.99, 76.42, 325.61) | |
| CIE XYZ | xyz(21.449, 11.246, 37.11) | |
| Decimal | 10298790 | |
| Short hex | None (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 #9D25A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.25:1 | Fail | Fail | Pass |
| Sample text | 6.46:1 | Pass | Fail | Pass |
| #9D25A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.46:1 | Pass | Fail | Pass |
| Sample text | 3.25:1 | Fail | Fail | Pass |
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.
#0055a9Protanopia
no red cones#4163a3Deuteranopia
no green cones#a03d65Tritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
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); }
Similar colors
#9a2ca0Purple Ink#aa11aaMagentle#aa22bbMagentleman#952e8fWarm Purple#8833aaPleasant Purple#a104c3Nebula#bb00aaPurple Pirate#bb11aaPunk Rock Purple
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.