#BA5EAA
Closest named color: Soft Purple (#A66FB5). oklch(61.7% 0.151 334.2), rgb(186, 94, 170).
Aa
Black text reads best on this color (5.26:1).
About this color
#BA5EAA is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.151 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.049 away. Black text reads best on it, at 5.26:1.
| Hue family | Purples |
| Lightness | medium-dark (62%) |
| Chroma | vivid (0.151) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.26:1 |
| White text | 3.98:1 |
Values
| HEX | #BA5EAA |
| RGB | rgb(186, 94, 170) |
| HSL | hsl(310, 40%, 55%) |
| OKLCH | oklch(61.7% 0.151 334.2) |
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 #BA5EAA | 3.98:1 | AA large text | Lc -72.3 | Content text, not long reading |
| Black text on #BA5EAA | 5.26:1 | AA | Lc 37.3 | Non-text elements, placeholder text |
| #BA5EAA text on white | 3.98:1 | AA large text | Lc 66.8 | Content text, not long reading |
| #BA5EAA text on black | 5.26:1 | AA | Lc -34.9 | 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
#F3E5F0
oklch(93.6% 0.021 332.9)
-
Step 200
200
#EBD0E4
oklch(88.6% 0.04 335)
-
Step 300
300
#DFAFD4
oklch(80.9% 0.074 334.5)
-
Step 400
400
#CD84BF
oklch(70.7% 0.118 334)
-
Step 500
500 (this color)
#BA5EAA
oklch(61.7% 0.151 334.2)
-
Step 600
600
#AA469A
oklch(55.6% 0.165 334.2)
-
Step 700
700
#913783
oklch(49% 0.152 334.2)
-
Step 800
800
#762F6B
oklch(42.7% 0.126 334)
-
Step 900
900
#602A57
oklch(37.7% 0.1 334.1)
-
Step 950
950
#381933
oklch(26.9% 0.063 333.5)
#BA5EAA 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) | #5D77AD | 0.154 |
| Deuteranopia (no green cones) | #7784A7 | 0.137 |
| Tritanopia (no blue cones) | #C1637C | 0.076 |
| Achromatopsia (no color) | #7F7F7F | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA5EAA
#BA5EAA
oklch(61.7% 0.151 334.2)
- #119F59
#119F59
oklch(61.8% 0.152 154)
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 #BA5EAA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.049
- Pinky Purple #C94CBE ΔE 0.055
- Pale Magenta #D767AD ΔE 0.059
- Dark Lilac #9C6DA5 ΔE 0.061
- Amethyst #9B5FC0 ΔE 0.066
- Medium Orchid #BA55D3 ΔE 0.069
- Purpley Pink #C83CB9 ΔE 0.071
- Deep Lilac #966EBD ΔE 0.072
Use #BA5EAA 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.