#BA7AB2
Closest named color: Wisteria (#A87DC2). oklch(66.4% 0.109 331.2), rgb(186, 122, 178).
Aa
Black text reads best on this color (6.51:1).
About this color
#BA7AB2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.109 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.037 away. Black text reads best on it, at 6.51:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.109) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.51:1 |
| White text | 3.22:1 |
Values
| HEX | #BA7AB2 |
| RGB | rgb(186, 122, 178) |
| HSL | hsl(308, 32%, 60%) |
| OKLCH | oklch(66.4% 0.109 331.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 #BA7AB2 | 3.22:1 | AA large text | Lc -64.8 | Content text, not long reading |
| Black text on #BA7AB2 | 6.51:1 | AA | Lc 44.7 | Non-text elements, placeholder text |
| #BA7AB2 text on white | 3.22:1 | AA large text | Lc 59.3 | Large or bold text, headings |
| #BA7AB2 text on black | 6.51:1 | AA | Lc -42.4 | 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
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#F0E6EF
oklch(93.5% 0.016 328.8)
-
Step 200
200
#E5D2E2
oklch(88.4% 0.03 331)
-
Step 300
300
#D6B5D1
oklch(81% 0.053 331.1)
-
Step 400
400
#C08DB9
oklch(70.7% 0.086 331.2)
-
Step 500
500 (this color)
#BA7AB2
oklch(66.4% 0.109 331.2)
-
Step 600
600
#9A5793
oklch(55.5% 0.119 330.9)
-
Step 700
700
#84477D
oklch(49.1% 0.111 331.5)
-
Step 800
800
#6B3B66
oklch(42.8% 0.091 330.9)
-
Step 900
900
#573353
oklch(37.8% 0.071 330.9)
-
Step 950
950
#331E30
oklch(27% 0.044 331.9)
#BA7AB2 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) | #788AB4 | 0.105 |
| Deuteranopia (no green cones) | #8892B0 | 0.095 |
| Tritanopia (no blue cones) | #BF7E8E | 0.059 |
| Achromatopsia (no color) | #8F8F8F | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7AB2
#BA7AB2
oklch(66.4% 0.109 331.2)
- #5DA671
#5DA671
oklch(66.3% 0.108 151.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 #BA7AB2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.037
- Dusty Lavender #AC86A8 ΔE 0.043
- Heather #A484AC ΔE 0.045
- Soft Purple #A66FB5 ΔE 0.048
- Pale Magenta #D767AD ΔE 0.061
- Muted Pink #D1768F ΔE 0.063
- Pale Purple #B790D4 ΔE 0.063
- Dark Lilac #9C6DA5 ΔE 0.065
Use #BA7AB2 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.