#B40CC8
Closest named color: Vibrant Purple (#AD03DE). oklch(55.6% 0.258 322.6), rgb(180, 12, 200).
Aa
White text reads best on this color (5.48:1).
About this color
#B40CC8 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.258 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.039 away. White text reads best on it, at 5.48:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.258) |
| Temperature | in between |
| Nearest name | Vibrant Purple (#AD03DE) |
| Black text | 3.82:1 |
| White text | 5.48:1 |
Values
| HEX | #B40CC8 |
| RGB | rgb(180, 12, 200) |
| HSL | hsl(294, 89%, 42%) |
| OKLCH | oklch(55.6% 0.258 322.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #B40CC8 | 5.48:1 | AA | Lc -80.6 | Fine for body text |
| Black text on #B40CC8 | 3.82:1 | AA large text | Lc 28.9 | Dividers and decoration only |
| #B40CC8 text on white | 5.48:1 | AA | Lc 75.2 | Fine for body text |
| #B40CC8 text on black | 3.82:1 | AA large text | Lc -26.5 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#FBF2FC
oklch(97.1% 0.016 322.7)
-
Step 100
100
#F5E3F7
oklch(93.6% 0.033 322.8)
-
Step 200
200
#EECCF3
oklch(88.6% 0.064 322)
-
Step 300
300
#E5A7ED
oklch(80.9% 0.117 322.6)
-
Step 400
400
#D673E3
oklch(70.8% 0.186 322.8)
-
Step 500
500
#C944DB
oklch(63.2% 0.238 322.7)
-
Step 600
600 (this color)
#B40CC8
oklch(55.6% 0.258 322.6)
-
Step 700
700
#9900AB
oklch(49.1% 0.233 322.5)
-
Step 800
800
#7E058C
oklch(42.8% 0.199 322.8)
-
Step 900
900
#651670
oklch(37.6% 0.155 322.4)
-
Step 950
950
#3C1042
oklch(27.1% 0.099 322.7)
#B40CC8 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #005ECC | 0.251 |
| Deuteranopia (no green cones) | #386FC4 | 0.234 |
| Tritanopia (no blue cones) | #B64176 | 0.152 |
| Achromatopsia (no color) | #696969 | 0.261 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B40CC8
#B40CC8
oklch(55.6% 0.258 322.6)
- #008C04
#008C04
oklch(55.5% 0.188 142.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B40CC8, closest first.
No curated palette has a color within ΔE 0.04 of #B40CC8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vibrant Purple #AD03DE ΔE 0.039
- Dark Orchid #9932CC ΔE 0.058
- Dark Violet #9400D3 ΔE 0.071
- Purpley Pink #C83CB9 ΔE 0.074
- Purply #983FB2 ΔE 0.076
- Hot Purple #CB00F5 ΔE 0.078
- Purple Pink #D725DE ΔE 0.079
- Bright Purple #BE03FD ΔE 0.081
Use #B40CC8 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.