#BA2AB3
Closest named color: Purpley Pink (#C83CB9). oklch(56.6% 0.228 330.3), rgb(186, 42, 179).
Aa
White text reads best on this color (5.15:1).
About this color
#BA2AB3 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.228 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.040 away. White text reads best on it, at 5.15:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.228) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.06:1 |
| White text | 5.15:1 |
Values
| HEX | #BA2AB3 |
| RGB | rgb(186, 42, 179) |
| HSL | hsl(303, 63%, 45%) |
| OKLCH | oklch(56.6% 0.228 330.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 #BA2AB3 | 5.15:1 | AA | Lc -79.5 | Fine for body text |
| Black text on #BA2AB3 | 4.06:1 | AA large text | Lc 30.0 | Dividers and decoration only |
| #BA2AB3 text on white | 5.15:1 | AA | Lc 74.1 | Content text, not long reading |
| #BA2AB3 text on black | 4.06:1 | AA large text | Lc -27.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
#F6E3F3
oklch(93.6% 0.029 330.9)
-
Step 200
200
#F0CCEB
oklch(88.5% 0.057 330.7)
-
Step 300
300
#E7A9E0
oklch(81% 0.102 330.4)
-
Step 400
400
#D877D0
oklch(70.7% 0.163 330.2)
-
Step 500
500
#CC4DC4
oklch(63.2% 0.21 330.3)
-
Step 600
600 (this color)
#BA2AB3
oklch(56.6% 0.228 330.3)
-
Step 700
700
#9D1497
oklch(49.1% 0.212 330.4)
-
Step 800
800
#80177B
oklch(42.8% 0.176 330.3)
-
Step 900
900
#671D63
oklch(37.8% 0.136 330.2)
-
Step 950
950
#3D133A
oklch(27.1% 0.086 330.5)
#BA2AB3 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) | #1461B7 | 0.249 |
| Deuteranopia (no green cones) | #5874B0 | 0.208 |
| Tritanopia (no blue cones) | #C13F6E | 0.122 |
| Achromatopsia (no color) | #6D6D6D | 0.230 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA2AB3
#BA2AB3
oklch(56.6% 0.228 330.3)
- #008E41
#008E41
oklch(56.5% 0.155 150.3)
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 #BA2AB3, closest first.
No curated palette has a color within ΔE 0.04 of #BA2AB3.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.040
- Pinky Purple #C94CBE ΔE 0.063
- Purply #983FB2 ΔE 0.068
- Medium Violet Red #C71585 ΔE 0.077
- Medium Orchid #BA55D3 ΔE 0.077
- Dark Orchid #9932CC ΔE 0.078
- Vibrant Purple #AD03DE ΔE 0.081
- Purple Pink #D725DE ΔE 0.082
Use #BA2AB3 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.