#BD31B4
Closest named color: Purpley Pink (#C83CB9). oklch(57.6% 0.223 330.9), rgb(189, 49, 180).
Aa
White text reads best on this color (4.92:1).
About this color
#BD31B4 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.223 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.029 away. White text reads best on it, at 4.92:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.223) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.26:1 |
| White text | 4.92:1 |
Values
| HEX | #BD31B4 |
| RGB | rgb(189, 49, 180) |
| HSL | hsl(304, 59%, 47%) |
| OKLCH | oklch(57.6% 0.223 330.9) |
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 #BD31B4 | 4.92:1 | AA | Lc -78.3 | Fine for body text |
| Black text on #BD31B4 | 4.26:1 | AA large text | Lc 31.2 | Non-text elements, placeholder text |
| #BD31B4 text on white | 4.92:1 | AA | Lc 72.8 | Content text, not long reading |
| #BD31B4 text on black | 4.26:1 | AA large text | Lc -28.8 | 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
#F6E3F3
oklch(93.6% 0.029 330.9)
-
Step 200
200
#F0CCEA
oklch(88.5% 0.056 331.7)
-
Step 300
300
#E7A9DF
oklch(81% 0.101 331)
-
Step 400
400
#D878CE
oklch(70.8% 0.16 331)
-
Step 500
500
#CB4EC1
oklch(63% 0.206 331)
-
Step 600
600 (this color)
#BD31B4
oklch(57.6% 0.223 330.9)
-
Step 700
700
#9D1895
oklch(49.2% 0.208 331.1)
-
Step 800
800
#7F1979
oklch(42.7% 0.172 330.8)
-
Step 900
900
#671E61
oklch(37.8% 0.133 331.3)
-
Step 950
950
#3C1339
oklch(26.9% 0.085 330.6)
#BD31B4 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) | #2264B8 | 0.242 |
| Deuteranopia (no green cones) | #5D77B1 | 0.203 |
| Tritanopia (no blue cones) | #C44370 | 0.119 |
| Achromatopsia (no color) | #707070 | 0.225 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BD31B4
#BD31B4
oklch(57.6% 0.223 330.9)
- #009245
#009245
oklch(57.7% 0.156 150.8)
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 #BD31B4, closest first.
No curated palette has a color within ΔE 0.04 of #BD31B4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.029
- Pinky Purple #C94CBE ΔE 0.051
- Medium Orchid #BA55D3 ΔE 0.069
- Purply #983FB2 ΔE 0.071
- Medium Violet Red #C71585 ΔE 0.076
- Purple Pink #D725DE ΔE 0.078
- Dark Orchid #9932CC ΔE 0.083
- Vibrant Purple #AD03DE ΔE 0.087
Use #BD31B4 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.