#BA7EC0
Closest named color: Wisteria (#A87DC2). oklch(67.7% 0.116 323.6), rgb(186, 126, 192).
Aa
Black text reads best on this color (6.83:1).
About this color
#BA7EC0 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.116 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.030 away. Black text reads best on it, at 6.83:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.116) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.83:1 |
| White text | 3.07:1 |
Values
| HEX | #BA7EC0 |
| RGB | rgb(186, 126, 192) |
| HSL | hsl(295, 34%, 62%) |
| OKLCH | oklch(67.7% 0.116 323.6) |
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 #BA7EC0 | 3.07:1 | AA large text | Lc -62.9 | Content text, not long reading |
| Black text on #BA7EC0 | 6.83:1 | AA | Lc 46.6 | Large or bold text, headings |
| #BA7EC0 text on white | 3.07:1 | AA large text | Lc 57.5 | Large or bold text, headings |
| #BA7EC0 text on black | 6.83:1 | AA | Lc -44.3 | 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 400.
-
Step 50
50
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F1E5F2
oklch(93.5% 0.022 323.4)
-
Step 200
200
#E7D1E9
oklch(88.6% 0.04 323.3)
-
Step 300
300
#D8B1DC
oklch(80.8% 0.073 323.2)
-
Step 400
400 (this color)
#BA7EC0
oklch(67.7% 0.116 323.6)
-
Step 500
500
#B467BC
oklch(63.1% 0.148 323.6)
-
Step 600
600
#9F4CA8
oklch(55.6% 0.161 323.6)
-
Step 700
700
#883D90
oklch(49.2% 0.149 323.7)
-
Step 800
800
#6E3375
oklch(42.7% 0.123 323.3)
-
Step 900
900
#5A2D5E
oklch(37.7% 0.097 324.2)
-
Step 950
950
#351B37
oklch(27% 0.061 324.5)
#BA7EC0 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) | #788EC2 | 0.103 |
| Deuteranopia (no green cones) | #8696BE | 0.096 |
| Tritanopia (no blue cones) | #BD8596 | 0.071 |
| Achromatopsia (no color) | #939393 | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7EC0
#BA7EC0
oklch(67.7% 0.116 323.6)
- #6AAA68
#6AAA68
oklch(67.8% 0.116 143.5)
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 #BA7EC0, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.030
- Pale Purple #B790D4 ΔE 0.046
- Dusty Lavender #AC86A8 ΔE 0.051
- Heather #A484AC ΔE 0.051
- Soft Purple #A66FB5 ΔE 0.053
- Pale Magenta #D767AD ΔE 0.067
- Lavender Pink #DD85D7 ΔE 0.070
- Orchid #DA70D6 ΔE 0.071
Use #BA7EC0 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.