Palettes / Colors / #BB31DD
#BB31DD — Purple
#BB31DD is a purple color we call Purple, closest to the named color DarkOrchid (#9932CC). It belongs to the purple family.
Color name
Closest CSS keyword: darkorchid (#9932CC) — not an exact match. CSS darkorchid gives you #9932CC, a different color; use #BB31DD 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.
#BB31DD 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 #53DD31; it also sits naturally between #6531DD and #DD31AA. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #BB31DD |
|---|---|
| RGB | 187, 49, 221 |
| HSL | 288°, 72%, 53% |
| HSV | 288°, 78%, 87% |
| CMYK | 15%, 78%, 0%, 13% |
| XYZ | 34.64, 17.98, 70.05 |
| Yxy | 17.98, 0.2824, 0.1466 |
| CIE-Lab | 49.47, 74.94, -59.77 |
| Hunter Lab | 42.41, 75.06, -73.28 |
RGB & CMYK percentages
Red 73% · Green 19% · Blue 87%
Cyan 15% · Magenta 78% · Yellow 0% · Key 13%
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 #BB31DD
.text { color: #BB31DD; }
.background { background-color: #BB31DD; }
.border { border: 3px solid #BB31DD; }
.text-rgb { color: rgb(187, 49, 221); }
.text-hsl { color: hsl(288, 72%, 53%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #BB31DD; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(187, 49, 221, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #BB31DD; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(187, 49, 221, 0.8); }
HTML: <p style="color:#BB31DD">Text here</p> · <div style="background-color:#BB31DD">Div content here</div>
Shades of #BB31DD
Tints of #BB31DD
Tones of #BB31DD
Color harmonies
Complementary — #53DD31:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 4.57:1 AA |
|---|---|
| Against black text | 4.60:1 AA |
Best text color on #BB31DD: #000000.
Semi-transparent (opacity) text on #BB31DD
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 #BB31DD: ·
How #BB31DD 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 #BB31DD 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 #BB31DD?
#BB31DD is Purple, a purple color (RGB 187, 49, 221). Its closest standard named color is DarkOrchid.
What is the RGB and HSL of #BB31DD?
#BB31DD is RGB 187, 49, 221 — HSL 288°, 72%, 53% — CMYK 15%, 78%, 0%, 13%.
What colors go with #BB31DD?
Its complement is #53DD31; analogous partners are #6531DD and #DD31AA. It also appears in 6+ palettes in our collection.
Can I use #BB31DD for text?
Black text on #BB31DD has a contrast ratio of 4.60:1 (passes WCAG AA); white text gives 4.57:1.