Maroon Colors  ·  Color Library

Palettes / Colors / #987FFA

#987FFA — Light Vivid Blue

#987FFA is a blue color we call Light Vivid Blue, closest to the named color CornflowerBlue (#6495ED). It belongs to the blue family.

Color name

Closest CSS keyword: cornflowerblue (#6495ED) — not an exact match. CSS cornflowerblue gives you #6495ED, a different color; use #987FFA when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#987FFA is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #E1FA80; it also sits naturally between #80A4FA and #D580FA. In the palettes below you can see it working alongside real color combinations from our collection.

#987FFA · RGB 152, 127, 250

Download PNG swatch SVG

Color values

HEX#987FFA
RGB152, 127, 250
HSL252°, 92%, 74%
HSV252°, 49%, 98%
CMYK39%, 49%, 0%, 2%
XYZ37.79, 28.76, 94.00
Yxy28.76, 0.2354, 0.1791
CIE-Lab60.57, 37.65, -58.43
Hunter Lab53.62, 35.38, -71.98

RGB & CMYK percentages

Red 60% · Green 50% · Blue 98%

Cyan 39% · Magenta 49% · Yellow 0% · Key 2%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #987FFA on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #987FFA on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #987FFA

.text { color: #987FFA; }
.background { background-color: #987FFA; }
.border { border: 3px solid #987FFA; }
.text-rgb { color: rgb(152, 127, 250); }
.text-hsl { color: hsl(252, 92%, 74%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #987FFA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(152, 127, 250, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #987FFA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(152, 127, 250, 0.8); }

HTML: <p style="color:#987FFA">Text here</p> · <div style="background-color:#987FFA">Div content here</div>

Shades of #987FFA

#7C5DF8#613BF7#4519F5#3509E1#2D08BF#25079D#1D057A#150458#0D0236#050114

Tints of #987FFA

#A089FA#A893FB#B4A2FB#BCACFC#C4B6FC#CCBFFC#D3C9FD#DFD8FD#E7E2FE#EFEBFE

Tones of #987FFA

#9D88F1#A291E8#A89AE0#ADA3D7#B2ABCE#B8B4C5

Color harmonies

Complementary — #E1FA80:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.11:1 AA large only
Against black text6.75:1 AA

Best text color on #987FFA: #000000.

Semi-transparent (opacity) text on #987FFA

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #987FFA: ·

How #987FFA looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #8D8DDCDeuteranopia · #8F91D5Tritanopia · #97C5C0

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind violet 500 · #8B5CF6Tailwind purple 500 · #A855F7Tailwind indigo 500 · #6366F1

Palettes with a similar color

These palettes use a close neighbour of #987FFA rather than the exact color:

Palette 322653
#322653 · #8062D6 · #9288F8 · #FFD2D7
Palette 7effdb
#7EFFDB · #B693FE · #8C82FC · #FF9DE2
Rustic Ruby Dusk
#46AAE7 · #677CE9 · #9A75F1 · #A412D4
Palette 7f27ff
#7F27FF · #9F70FD · #FDBF60 · #FF8911
Palette 190482
#190482 · #7752FE · #8E8FFA · #C2D9FF
Rustic Canyon
#38179F · #9C74EB · #C1E650 · #E0F0BA

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#9288F8#8C82FC#9A75F1#9F70FD#8E8FFA#9C74EB#A888FF#A573F2#978AEA#998CEB#966EED#8576FF

Browse neighbouring colors

← #987FF9  ·  #987FFB →

Frequently asked questions

What color is #987FFA?

#987FFA is Light Vivid Blue, a blue color (RGB 152, 127, 250). Its closest standard named color is CornflowerBlue.

What is the RGB and HSL of #987FFA?

#987FFA is RGB 152, 127, 250 — HSL 252°, 92%, 74% — CMYK 39%, 49%, 0%, 2%.

What colors go with #987FFA?

Its complement is #E1FA80; analogous partners are #80A4FA and #D580FA. It also appears in 6+ palettes in our collection.

Can I use #987FFA for text?

Black text on #987FFA has a contrast ratio of 6.75:1 (passes WCAG AA); white text gives 3.11:1.