#BA7EDA
Closest named color: Wisteria (#A87DC2). oklch(68.9% 0.145 313.1), rgb(186, 126, 218).
Aa
Black text reads best on this color (7.08:1).
About this color
#BA7EDA is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.145 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.047 away. Black text reads best on it, at 7.08:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 7.08:1 |
| White text | 2.96:1 |
Values
| HEX | #BA7EDA |
| RGB | rgb(186, 126, 218) |
| HSL | hsl(279, 55%, 67%) |
| OKLCH | oklch(68.9% 0.145 313.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 #BA7EDA | 2.96:1 | Fails | Lc -61.3 | Content text, not long reading |
| Black text on #BA7EDA | 7.08:1 | AAA | Lc 48.0 | Large or bold text, headings |
| #BA7EDA text on white | 2.96:1 | Fails | Lc 56.0 | Large or bold text, headings |
| #BA7EDA text on black | 7.08:1 | AAA | Lc -45.8 | Large or bold text, headings |
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
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#F0E5F7
oklch(93.6% 0.027 312.6)
-
Step 200
200
#E5D0F1
oklch(88.5% 0.05 313.4)
-
Step 300
300
#D5B0EB
oklch(80.9% 0.09 312.7)
-
Step 400
400 (this color)
#BA7EDA
oklch(68.9% 0.145 313.1)
-
Step 500
500
#B061D7
oklch(63.2% 0.184 313.2)
-
Step 600
600
#9B43C4
oklch(55.6% 0.2 313.2)
-
Step 700
700
#8433AA
oklch(49% 0.187 312.8)
-
Step 800
800
#6C2C89
oklch(42.7% 0.154 313.4)
-
Step 900
900
#57296E
oklch(37.6% 0.121 312.8)
-
Step 950
950
#331940
oklch(26.9% 0.076 313.2)
#BA7EDA 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) | #6C93DD | 0.117 |
| Deuteranopia (no green cones) | #7C97D7 | 0.106 |
| Tritanopia (no blue cones) | #B78BA2 | 0.099 |
| Achromatopsia (no color) | #969696 | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7EDA
#BA7EDA
oklch(68.9% 0.145 313.1)
- #76AD49
#76AD49
oklch(68.7% 0.144 133.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 #BA7EDA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.047
- Pale Purple #B790D4 ΔE 0.047
- Light Purple #BF77F6 ΔE 0.048
- Orchid #DA70D6 ΔE 0.059
- Liliac #C48EFD ΔE 0.061
- Light Urple #B36FF6 ΔE 0.061
- Lavender Pink #DD85D7 ΔE 0.064
- Easter Purple #C071FE ΔE 0.065
Use #BA7EDA 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.