#BB31B7
Closest named color: Purpley Pink (#C83CB9). oklch(57.5% 0.224 329.3), rgb(187, 49, 183).
Aa
White text reads best on this color (4.95:1).
About this color
#BB31B7 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.224 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.032 away. White text reads best on it, at 4.95:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.224) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.23:1 |
| White text | 4.95:1 |
Values
| HEX | #BB31B7 |
| RGB | rgb(187, 49, 183) |
| HSL | hsl(302, 58%, 46%) |
| OKLCH | oklch(57.5% 0.224 329.3) |
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 #BB31B7 | 4.95:1 | AA | Lc -78.5 | Fine for body text |
| Black text on #BB31B7 | 4.23:1 | AA large text | Lc 31.0 | Non-text elements, placeholder text |
| #BB31B7 text on white | 4.95:1 | AA | Lc 73.0 | Content text, not long reading |
| #BB31B7 text on black | 4.23:1 | AA large text | Lc -28.6 | 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
#FBF2FA
oklch(97% 0.014 329.1)
-
Step 100
100
#F6E3F4
oklch(93.6% 0.03 329.1)
-
Step 200
200
#EFCCEB
oklch(88.4% 0.057 329.8)
-
Step 300
300
#E6A9E1
oklch(80.9% 0.102 329.3)
-
Step 400
400
#D778D1
oklch(70.8% 0.162 329.5)
-
Step 500
500
#C94FC5
oklch(63.1% 0.206 329)
-
Step 600
600 (this color)
#BB31B7
oklch(57.5% 0.224 329.3)
-
Step 700
700
#9B1898
oklch(49% 0.209 329.3)
-
Step 800
800
#7E197B
oklch(42.6% 0.173 329.4)
-
Step 900
900
#661E63
oklch(37.7% 0.134 329.6)
-
Step 950
950
#3C133A
oklch(27% 0.086 329.6)
#BB31B7 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) | #1B64BB | 0.242 |
| Deuteranopia (no green cones) | #5976B4 | 0.203 |
| Tritanopia (no blue cones) | #C24572 | 0.122 |
| Achromatopsia (no color) | #707070 | 0.226 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BB31B7
#BB31B7
oklch(57.5% 0.224 329.3)
- #00913F
#00913F
oklch(57.4% 0.16 149.4)
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 #BB31B7, closest first.
No curated palette has a color within ΔE 0.04 of #BB31B7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.032
- Pinky Purple #C94CBE ΔE 0.054
- Medium Orchid #BA55D3 ΔE 0.067
- Purply #983FB2 ΔE 0.068
- Purple Pink #D725DE ΔE 0.077
- Dark Orchid #9932CC ΔE 0.077
- Vibrant Purple #AD03DE ΔE 0.081
- Medium Violet Red #C71585 ΔE 0.082
Use #BB31B7 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.