#9D5DFB color
The hex color #9D5DFB is a light, vivid violet.
In the RGB color model it is made of 61.6% red, 36.5% green and 98.4% blue (157, 93, 251).
Its hue angle is 264°, with 95% saturation and 67% lightness. For print, the CMYK equivalent is 37% cyan, 63% magenta, 0% yellow and 2% black.
The closest named color is Orion Nebula (#A55AF4), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.39:1).
#9D5DFB color codes
| HEX | #9D5DFB | |
|---|---|---|
| RGB | rgb(157, 93, 251) | |
| RGB percent | rgb(61.6%, 36.5%, 98.4%) | |
| HSL | hsl(264, 95%, 67%) | |
| HSV / HSB | hsv(264, 63%, 98%) | |
| CMYK | cmyk(37%, 63%, 0%, 2%) | |
| CIE LAB | lab(53.99, 57.49, -69.52) | |
| CIE LCH | lch(53.99, 90.22, 309.59) | |
| CIE XYZ | xyz(35.227, 21.961, 93.631) | |
| Decimal | 10313211 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D5DFB, 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 #9D5DFB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.39:1 | Pass | Fail | Pass |
| Sample text | 3.89:1 | Fail | Fail | Pass |
| #9D5DFB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.89:1 | Fail | Fail | Pass |
| Sample text | 5.39: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 #9D5DFB looks to people with the most common types of color vision deficiency.
#0081ffProtanopia
no red cones#007ff8Deuteranopia
no green cones#8781a4Tritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #9d5dfb; }
.text { color: #9d5dfb; }
.border { border: 2px solid #9d5dfb; }
.transparent { background-color: rgb(157 93 251 / 50%); }
.gradient { background: linear-gradient(to right, #9d5dfb, #ec5dfb); }
Similar colors
#a55af4Orion Nebula#9d61d4Legendary Lavender#a669dbViolet Voltage#7b68eeMedium Slate Blue#bf3cffMagento#7755eeCandy Grape Fizz#aa44ddMagenta Affair#aa33eeSweet Desire
Closest common color name: Medium Purple.
Questions
- What color is #9D5DFB?
- #9D5DFB is a light, vivid violet, closest to the named color Orion Nebula. It belongs to the purple family of colors.
- What is the RGB value of #9D5DFB?
- The RGB value is 157, 93, 251: 157 red, 93 green and 251 blue on a 0 to 255 scale.
- What is the complementary color of #9D5DFB?
- The complementary color is #BBFB5D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D5DFB?
- Black text. Black text has a contrast ratio of 5.39:1 and white text 3.89:1. WCAG asks for at least 4.5:1 for normal text.