#BA8AED
Closest named color: Liliac (#C48EFD). oklch(71.8% 0.147 305.3), rgb(186, 138, 237).
Aa
Black text reads best on this color (7.94:1).
About this color
#BA8AED is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.147 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.029 away. Black text reads best on it, at 7.94:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.147) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 7.94:1 |
| White text | 2.64:1 |
Values
| HEX | #BA8AED |
| RGB | rgb(186, 138, 237) |
| HSL | hsl(269, 73%, 74%) |
| OKLCH | oklch(71.8% 0.147 305.3) |
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 #BA8AED | 2.64:1 | Fails | Lc -56.5 | Large or bold text, headings |
| Black text on #BA8AED | 7.94:1 | AAA | Lc 52.7 | Large or bold text, headings |
| #BA8AED text on white | 2.64:1 | Fails | Lc 51.3 | Large or bold text, headings |
| #BA8AED text on black | 7.94:1 | AAA | Lc -50.6 | 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
#F7F3FC
oklch(97% 0.013 306)
-
Step 100
100
#EEE6F9
oklch(93.7% 0.027 304.8)
-
Step 200
200
#E1D1F5
oklch(88.5% 0.052 305.4)
-
Step 300
300
#CFB2F1
oklch(81% 0.092 305.4)
-
Step 400
400 (this color)
#BA8AED
oklch(71.8% 0.147 305.3)
-
Step 500
500
#A564E2
oklch(63% 0.188 305.5)
-
Step 600
600
#9147D0
oklch(55.7% 0.204 305.5)
-
Step 700
700
#7B37B4
oklch(49.1% 0.19 305.3)
-
Step 800
800
#642F92
oklch(42.7% 0.157 305.2)
-
Step 900
900
#512B74
oklch(37.6% 0.123 305.2)
-
Step 950
950
#301A44
oklch(27% 0.078 306)
#BA8AED 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) | #729EF1 | 0.104 |
| Deuteranopia (no green cones) | #7D9FEA | 0.096 |
| Tritanopia (no blue cones) | #B29AB0 | 0.110 |
| Achromatopsia (no color) | #9F9F9F | 0.148 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA8AED
#BA8AED
oklch(71.8% 0.147 305.3)
- #8EB341
#8EB341
oklch(71.7% 0.147 125.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 #BA8AED, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.029
- Pale Purple #B790D4 ΔE 0.044
- Light Purple #BF77F6 ΔE 0.048
- Baby Purple #CA9BF7 ΔE 0.050
- Pastel Purple #CAA0FF ΔE 0.062
- Lavender Pink #DD85D7 ΔE 0.065
- Easter Purple #C071FE ΔE 0.065
- Perrywinkle #8F8CE7 ΔE 0.066
Use #BA8AED 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.