Palettes / Colors / #B402CF
#B402CF — Vivid Pink
#B402CF is a pink color we call Vivid Pink, closest to the named color DarkViolet (#9400D3). It belongs to the pink family.
Color name
Closest CSS keyword: darkviolet (#9400D3) — not an exact match. CSS darkviolet gives you #9400D3, a different color; use #B402CF 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.
#B402CF is a cool pink color associated with playfulness, romance and softness. 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 #1DCF02; it also sits naturally between #4D02CF and #CF0284. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #B402CF |
|---|---|
| RGB | 180, 2, 207 |
| HSL | 292°, 98%, 41% |
| HSV | 292°, 99%, 81% |
| CMYK | 13%, 99%, 0%, 19% |
| XYZ | 30.11, 14.25, 60.20 |
| Yxy | 14.25, 0.2880, 0.1363 |
| CIE-Lab | 44.59, 79.66, -59.68 |
| Hunter Lab | 37.75, 79.55, -72.87 |
RGB & CMYK percentages
Red 71% · Green 1% · Blue 81%
Cyan 13% · Magenta 99% · Yellow 0% · Key 19%
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 #B402CF
.text { color: #B402CF; }
.background { background-color: #B402CF; }
.border { border: 3px solid #B402CF; }
.text-rgb { color: rgb(180, 2, 207); }
.text-hsl { color: hsl(292, 98%, 41%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #B402CF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(180, 2, 207, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #B402CF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(180, 2, 207, 0.8); }
HTML: <p style="color:#B402CF">Text here</p> · <div style="background-color:#B402CF">Div content here</div>
Shades of #B402CF
Tints of #B402CF
Tones of #B402CF
Color harmonies
Complementary — #1DCF02:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 5.45:1 AA |
|---|---|
| Against black text | 3.85:1 AA large only |
Best text color on #B402CF: #FFFFFF.
Semi-transparent (opacity) text on #B402CF
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 #B402CF: ·
How #B402CF 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 #B402CF 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 #B402CF?
#B402CF is Vivid Pink, a pink color (RGB 180, 2, 207). Its closest standard named color is DarkViolet.
What is the RGB and HSL of #B402CF?
#B402CF is RGB 180, 2, 207 — HSL 292°, 98%, 41% — CMYK 13%, 99%, 0%, 19%.
What colors go with #B402CF?
Its complement is #1DCF02; analogous partners are #4D02CF and #CF0284. It also appears in 6+ palettes in our collection.
Can I use #B402CF for text?
White text on #B402CF has a contrast ratio of 5.45:1 (passes WCAG AA); black text gives 3.85:1.