Palettes / Colors / #985FEC
#985FEC — Vivid Purple
#985FEC is a purple color we call Vivid Purple, closest to the named color BlueViolet (#8A2BE2). It belongs to the purple family.
Color name
Closest CSS keyword: blueviolet (#8A2BE2) — not an exact match. CSS blueviolet gives you #8A2BE2, a different color; use #985FEC 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.
#985FEC is a cool purple color associated with luxury, creativity and mystery. 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 #B4EC5F; it also sits naturally between #5F6DEC and #DE5FEC. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #985FEC |
|---|---|
| RGB | 152, 95, 236 |
| HSL | 264°, 79%, 65% |
| HSV | 264°, 60%, 93% |
| CMYK | 36%, 60%, 0%, 7% |
| XYZ | 32.18, 20.92, 81.70 |
| Yxy | 20.92, 0.2387, 0.1552 |
| CIE-Lab | 52.86, 51.69, -63.02 |
| Hunter Lab | 45.73, 48.78, -79.33 |
RGB & CMYK percentages
Red 60% · Green 37% · Blue 93%
Cyan 36% · Magenta 60% · Yellow 0% · Key 7%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #985FEC
.text { color: #985FEC; }
.background { background-color: #985FEC; }
.border { border: 3px solid #985FEC; }
.text-rgb { color: rgb(152, 95, 236); }
.text-hsl { color: hsl(264, 79%, 65%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #985FEC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(152, 95, 236, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #985FEC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(152, 95, 236, 0.8); }
HTML: <p style="color:#985FEC">Text here</p> · <div style="background-color:#985FEC">Div content here</div>
Shades of #985FEC
Tints of #985FEC
Tones of #985FEC
Color harmonies
Complementary — #B4EC5F:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 4.05:1 AA large only |
|---|---|
| Against black text | 5.18:1 AA |
Best text color on #985FEC: #000000.
Semi-transparent (opacity) text on #985FEC
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:
Smaller body text shows the effect best.
Blended color: · Contrast against #985FEC: ·
How #985FEC looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
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:
Palettes with a similar color
These palettes use a close neighbour of #985FEC rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #985FEC?
#985FEC is Vivid Purple, a purple color (RGB 152, 95, 236). Its closest standard named color is BlueViolet.
What is the RGB and HSL of #985FEC?
#985FEC is RGB 152, 95, 236 — HSL 264°, 79%, 65% — CMYK 36%, 60%, 0%, 7%.
What colors go with #985FEC?
Its complement is #B4EC5F; analogous partners are #5F6DEC and #DE5FEC. It also appears in 6+ palettes in our collection.
Can I use #985FEC for text?
Black text on #985FEC has a contrast ratio of 5.18:1 (passes WCAG AA); white text gives 4.05:1.