#9D8FFA color

#9D8FFA rgb(157, 143, 250)
Shades of blue

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
RGBrgb(157, 143, 250)
RGB percentrgb(61.6%, 56.1%, 98%)
HSLhsl(248, 91%, 77%)
HSV / HSBhsv(248, 43%, 98%)
CMYKcmyk(37%, 43%, 0%, 2%)
CIE LABlab(64.73, 29.73, -51.76)
CIE LCHlch(64.73, 59.69, 299.87)
CIE XYZxyz(40.978, 33.714, 94.772)
Decimal10326010
Short hexNone (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 #9D8FFARatioAAAAAAA large
Sample text7.74:1PassPassPass
Sample text2.71:1FailFailFail
#9D8FFA as text onRatioAAAAAAA large
Sample text2.71:1FailFailFail
Sample text7.74:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.