Palettes / Colors / #B8A2EC
#B8A2EC — Light Purple
#B8A2EC is a purple color we call Light Purple, closest to the named color Plum (#DDA0DD). It belongs to the purple family.
Color name
Closest CSS keyword: plum (#DDA0DD) — not an exact match. CSS plum gives you #DDA0DD, a different color; use #B8A2EC 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.
#B8A2EC is a cool purple color associated with luxury, creativity and mystery. It is light enough to work as a background or base color, with darker text on top.
Its strongest partner is its complement #D6ECA2; it also sits naturally between #A2B1EC and #DDA2EC. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #B8A2EC |
|---|---|
| RGB | 184, 162, 236 |
| HSL | 258°, 66%, 78% |
| HSV | 258°, 31%, 93% |
| CMYK | 22%, 31%, 0%, 7% |
| XYZ | 47.83, 42.09, 84.96 |
| Yxy | 42.09, 0.2735, 0.2407 |
| CIE-Lab | 70.93, 22.99, -34.24 |
| Hunter Lab | 64.87, 21.87, -37.14 |
RGB & CMYK percentages
Red 72% · Green 64% · Blue 93%
Cyan 22% · Magenta 31% · 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 #B8A2EC
.text { color: #B8A2EC; }
.background { background-color: #B8A2EC; }
.border { border: 3px solid #B8A2EC; }
.text-rgb { color: rgb(184, 162, 236); }
.text-hsl { color: hsl(258, 66%, 78%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #B8A2EC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(184, 162, 236, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #B8A2EC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(184, 162, 236, 0.8); }
HTML: <p style="color:#B8A2EC">Text here</p> · <div style="background-color:#B8A2EC">Div content here</div>
Shades of #B8A2EC
Tints of #B8A2EC
Tones of #B8A2EC
Color harmonies
Complementary — #D6ECA2:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 2.23:1 Fails |
|---|---|
| Against black text | 9.42:1 AAA |
Best text color on #B8A2EC: #000000.
Semi-transparent (opacity) text on #B8A2EC
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 #B8A2EC: ·
How #B8A2EC 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 #B8A2EC 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 #B8A2EC?
#B8A2EC is Light Purple, a purple color (RGB 184, 162, 236). Its closest standard named color is Plum.
What is the RGB and HSL of #B8A2EC?
#B8A2EC is RGB 184, 162, 236 — HSL 258°, 66%, 78% — CMYK 22%, 31%, 0%, 7%.
What colors go with #B8A2EC?
Its complement is #D6ECA2; analogous partners are #A2B1EC and #DDA2EC. It also appears in 6+ palettes in our collection.
Can I use #B8A2EC for text?
Black text on #B8A2EC has a contrast ratio of 9.42:1 (passes WCAG AA); white text gives 2.23:1.