#BA89FE
Closest named color: Liliac (#C48EFD). oklch(72.5% 0.17 301.6), rgb(186, 137, 254).
Aa
Black text reads best on this color (8.09:1).
About this color
#BA89FE is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.170 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.021 away. Black text reads best on it, at 8.09:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.170) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 8.09:1 |
| White text | 2.59:1 |
Values
| HEX | #BA89FE |
| RGB | rgb(186, 137, 254) |
| HSL | hsl(265, 98%, 77%) |
| OKLCH | oklch(72.5% 0.17 301.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 #BA89FE | 2.59:1 | Fails | Lc -55.6 | Large or bold text, headings |
| Black text on #BA89FE | 8.09:1 | AAA | Lc 53.5 | Large or bold text, headings |
| #BA89FE text on white | 2.59:1 | Fails | Lc 50.5 | Large or bold text, headings |
| #BA89FE text on black | 8.09:1 | AAA | Lc -51.5 | 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
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EDE5FC
oklch(93.5% 0.032 301.6)
-
Step 200
200
#E0D1FA
oklch(88.6% 0.058 301.9)
-
Step 300
300
#CDB0FA
oklch(80.8% 0.107 302)
-
Step 400
400 (this color)
#BA89FE
oklch(72.5% 0.17 301.6)
-
Step 500
500
#A35EF4
oklch(63.1% 0.217 301.6)
-
Step 600
600
#8F3CE3
oklch(55.6% 0.236 301.6)
-
Step 700
700
#7A2CC5
oklch(49.1% 0.219 301.7)
-
Step 800
800
#63279F
oklch(42.7% 0.181 301.8)
-
Step 900
900
#50277F
oklch(37.7% 0.142 301.2)
-
Step 950
950
#2F184A
oklch(27% 0.09 301.9)
#BA89FE 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) | #67A0FF | 0.116 |
| Deuteranopia (no green cones) | #72A0FB | 0.107 |
| Tritanopia (no blue cones) | #AD9EB8 | 0.130 |
| Achromatopsia (no color) | #A1A1A1 | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA89FE
#BA89FE
oklch(72.5% 0.17 301.6)
- #96B517
#96B517
oklch(72.4% 0.169 121.4)
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 #BA89FE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.021
- Light Purple #BF77F6 ΔE 0.040
- Easter Purple #C071FE ΔE 0.053
- Baby Purple #CA9BF7 ΔE 0.055
- Light Urple #B36FF6 ΔE 0.060
- Pastel Purple #CAA0FF ΔE 0.063
- Pale Purple #B790D4 ΔE 0.068
- Periwinkle Blue #8F99FB ΔE 0.071
Use #BA89FE 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.