#BA5BA1
Closest named color: Soft Purple (#A66FB5). oklch(60.9% 0.149 338.3), rgb(186, 91, 161).
Aa
Black text reads best on this color (5.09:1).
About this color
#BA5BA1 is a medium-dark, vivid pink. In OKLCH its lightness is 61%, its chroma 0.149 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.056 away. Black text reads best on it, at 5.09:1.
| Hue family | Pinks |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.149) |
| Temperature | warm |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.09:1 |
| White text | 4.11:1 |
Values
| HEX | #BA5BA1 |
| RGB | rgb(186, 91, 161) |
| HSL | hsl(316, 41%, 54%) |
| OKLCH | oklch(60.9% 0.149 338.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 #BA5BA1 | 4.11:1 | AA large text | Lc -73.4 | Content text, not long reading |
| Black text on #BA5BA1 | 5.09:1 | AA | Lc 36.2 | Non-text elements, placeholder text |
| #BA5BA1 text on white | 4.11:1 | AA large text | Lc 67.9 | Content text, not long reading |
| #BA5BA1 text on black | 5.09:1 | AA | Lc -33.8 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#FAF3F8
oklch(97.1% 0.01 335.5)
-
Step 100
100
#F4E5EF
oklch(93.7% 0.021 337.7)
-
Step 200
200
#ECCFE2
oklch(88.4% 0.041 338.7)
-
Step 300
300
#E1AFD1
oklch(81% 0.073 338.4)
-
Step 400
400
#D083B9
oklch(70.7% 0.117 338.7)
-
Step 500
500 (this color)
#BA5BA1
oklch(60.9% 0.149 338.3)
-
Step 600
600
#AC4693
oklch(55.5% 0.161 338.2)
-
Step 700
700
#94377D
oklch(49.2% 0.15 338.6)
-
Step 800
800
#782E66
oklch(42.7% 0.125 338.2)
-
Step 900
900
#612A53
oklch(37.7% 0.097 338.1)
-
Step 950
950
#391931
oklch(26.9% 0.062 337.5)
#BA5BA1 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) | #5E74A3 | 0.155 |
| Deuteranopia (no green cones) | #78829E | 0.139 |
| Tritanopia (no blue cones) | #C35E77 | 0.070 |
| Achromatopsia (no color) | #7D7D7D | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA5BA1
#BA5BA1
oklch(60.9% 0.149 338.3)
- #009B62
#009B62
oklch(60.8% 0.141 158.6)
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 #BA5BA1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.056
- Pinky Purple #C94CBE ΔE 0.062
- Dark Lilac #9C6DA5 ΔE 0.062
- Pale Magenta #D767AD ΔE 0.063
- Light Plum #9D5783 ΔE 0.070
- Amethyst #9B5FC0 ΔE 0.073
- Purpley Pink #C83CB9 ΔE 0.074
- Deep Lilac #966EBD ΔE 0.079
Use #BA5BA1 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.