#BA5FB1
Closest named color: Soft Purple (#A66FB5). oklch(62.2% 0.155 331.1), rgb(186, 95, 177).
Aa
Black text reads best on this color (5.35:1).
About this color
#BA5FB1 is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.155 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.047 away. Black text reads best on it, at 5.35:1.
| Hue family | Purples |
| Lightness | medium-light (62%) |
| Chroma | vivid (0.155) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.35:1 |
| White text | 3.91:1 |
Values
| HEX | #BA5FB1 |
| RGB | rgb(186, 95, 177) |
| HSL | hsl(306, 40%, 55%) |
| OKLCH | oklch(62.2% 0.155 331.1) |
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 #BA5FB1 | 3.91:1 | AA large text | Lc -71.7 | Content text, not long reading |
| Black text on #BA5FB1 | 5.35:1 | AA | Lc 37.9 | Non-text elements, placeholder text |
| #BA5FB1 text on white | 3.91:1 | AA large text | Lc 66.2 | Content text, not long reading |
| #BA5FB1 text on black | 5.35:1 | AA | Lc -35.5 | 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
#FAF3F9
oklch(97.1% 0.011 330.1)
-
Step 100
100
#F3E5F1
oklch(93.6% 0.022 330.3)
-
Step 200
200
#EAD0E6
oklch(88.6% 0.041 331)
-
Step 300
300
#DEAFD7
oklch(80.9% 0.076 331.4)
-
Step 400
400
#CC83C3
oklch(70.6% 0.122 331.3)
-
Step 500
500 (this color)
#BA5FB1
oklch(62.2% 0.155 331.1)
-
Step 600
600
#A846A0
oklch(55.6% 0.169 330.8)
-
Step 700
700
#903789
oklch(49.2% 0.157 330.9)
-
Step 800
800
#752E6F
oklch(42.7% 0.13 331)
-
Step 900
900
#5F2A5A
oklch(37.7% 0.102 331.1)
-
Step 950
950
#381935
oklch(27% 0.065 330.9)
#BA5FB1 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) | #5B79B4 | 0.155 |
| Deuteranopia (no green cones) | #7585AE | 0.139 |
| Tritanopia (no blue cones) | #C06680 | 0.083 |
| Achromatopsia (no color) | #818181 | 0.156 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA5FB1
#BA5FB1
oklch(62.2% 0.155 331.1)
- #22A053
#22A053
oklch(62.2% 0.155 151.1)
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 #BA5FB1, closest first.
No curated palette has a color within ΔE 0.04 of #BA5FB1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.047
- Pinky Purple #C94CBE ΔE 0.049
- Pale Magenta #D767AD ΔE 0.060
- Medium Orchid #BA55D3 ΔE 0.060
- Amethyst #9B5FC0 ΔE 0.061
- Dark Lilac #9C6DA5 ΔE 0.064
- Purpley Pink #C83CB9 ΔE 0.068
- Deep Lilac #966EBD ΔE 0.068
Use #BA5FB1 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.