#9D8FFA color
The hex color #9D8FFA is a light, vivid blue.
In the RGB color model it is made of 61.6% red, 56.1% green and 98% blue (157, 143, 250).
Its hue angle is 248°, with 91% saturation and 77% lightness. For print, the CMYK equivalent is 37% cyan, 43% magenta, 0% yellow and 2% black.
The closest named color is Perrywinkle (#8F8CE7), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.74:1).
#9D8FFA color codes
| HEX | #9D8FFA | |
|---|---|---|
| RGB | rgb(157, 143, 250) | |
| RGB percent | rgb(61.6%, 56.1%, 98%) | |
| HSL | hsl(248, 91%, 77%) | |
| HSV / HSB | hsv(248, 43%, 98%) | |
| CMYK | cmyk(37%, 43%, 0%, 2%) | |
| CIE LAB | lab(64.73, 29.73, -51.76) | |
| CIE LCH | lch(64.73, 59.69, 299.87) | |
| CIE XYZ | xyz(40.978, 33.714, 94.772) | |
| Decimal | 10326010 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D8FFA, 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 #9D8FFA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.74:1 | Pass | Pass | Pass |
| Sample text | 2.71:1 | Fail | Fail | Fail |
| #9D8FFA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.71:1 | Fail | Fail | Fail |
| Sample text | 7.74:1 | Pass | Pass | 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 #9D8FFA looks to people with the most common types of color vision deficiency.
#6aa0feProtanopia
no red cones#699af7Deuteranopia
no green cones#84a4b8Tritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #9d8ffa; }
.text { color: #9d8ffa; }
.border { border: 2px solid #9d8ffa; }
.transparent { background-color: rgb(157 143 250 / 50%); }
.gradient { background: linear-gradient(to right, #9d8ffa, #d38ffa); }
Similar colors
#8f8ce7Perrywinkle#8e82fePeriwinkle Purple#9ba0efCold Lips#b195e4Dreamy Candy Forest#99aaffWidowmaker#c9a0ffDiva#9370dbMedium Purple#9370dbMatt Purple
Questions
- What color is #9D8FFA?
- #9D8FFA is a light, vivid blue, closest to the named color Perrywinkle. It belongs to the blue family of colors.
- What is the RGB value of #9D8FFA?
- The RGB value is 157, 143, 250: 157 red, 143 green and 250 blue on a 0 to 255 scale.
- What is the complementary color of #9D8FFA?
- The complementary color is #ECFA8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D8FFA?
- Black text. Black text has a contrast ratio of 7.74:1 and white text 2.71:1. WCAG asks for at least 4.5:1 for normal text.