#9E5F99 color
The hex color #9E5F99 is a grayish magenta.
In the RGB color model it is made of 62% red, 37.3% green and 60% blue (158, 95, 153).
Its hue angle is 305°, with 25% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 40% magenta, 3% yellow and 38% black.
The closest named color is Bermuda Onion (#9D5A8F), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.61:1).
#9E5F99 color codes
| HEX | #9E5F99 | |
|---|---|---|
| RGB | rgb(158, 95, 153) | |
| RGB percent | rgb(62%, 37.3%, 60%) | |
| HSL | hsl(305, 25%, 50%) | |
| HSV / HSB | hsv(305, 40%, 62%) | |
| CMYK | cmyk(0%, 40%, 3%, 38%) | |
| CIE LAB | lab(49.2, 34.75, -20.97) | |
| CIE LCH | lch(49.2, 40.59, 328.89) | |
| CIE XYZ | xyz(23.942, 17.755, 32.297) | |
| Decimal | 10379161 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E5F99, 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 #9E5F99 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.55:1 | Pass | Fail | Pass |
| Sample text | 4.61:1 | Pass | Fail | Pass |
| #9E5F99 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.61:1 | Pass | Fail | Pass |
| Sample text | 4.55:1 | Pass | 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 #9E5F99 looks to people with the most common types of color vision deficiency.
#5c709bProtanopia
no red cones#6d7897Deuteranopia
no green cones#a26475Tritanopia
no blue cones#757575Achromatopsia
no color vision
CSS examples
.background { background-color: #9e5f99; }
.text { color: #9e5f99; }
.border { border: 2px solid #9e5f99; }
.transparent { background-color: rgb(158 95 153 / 50%); }
.gradient { background: linear-gradient(to right, #9e5f99, #9e5f79); }
Similar colors
#9d5a8fBermuda Onion#a15589Purple Zergling#b4559bMagenta Memoir#9d5783Feminism#905284Grape Candy#8f509dVicious Violet#946dadCrown Jewels#a37298Drama Queen
Closest common color name: Plum.
Questions
- What color is #9E5F99?
- #9E5F99 is a grayish magenta, closest to the named color Bermuda Onion. It belongs to the purple family of colors.
- What is the RGB value of #9E5F99?
- The RGB value is 158, 95, 153: 158 red, 95 green and 153 blue on a 0 to 255 scale.
- What is the complementary color of #9E5F99?
- The complementary color is #5F9E64, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E5F99?
- White text. Black text has a contrast ratio of 4.55:1 and white text 4.61:1. WCAG asks for at least 4.5:1 for normal text.