#BA81FC
Closest named color: Light Purple (#BF77F6). oklch(71.1% 0.18 303.6), rgb(186, 129, 252).
Aa
Black text reads best on this color (7.63:1).
About this color
#BA81FC is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.180 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.023 away. Black text reads best on it, at 7.63:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.180) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.63:1 |
| White text | 2.75:1 |
Values
| HEX | #BA81FC |
| RGB | rgb(186, 129, 252) |
| HSL | hsl(268, 95%, 75%) |
| OKLCH | oklch(71.1% 0.18 303.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 #BA81FC | 2.75:1 | Fails | Lc -58.1 | Large or bold text, headings |
| Black text on #BA81FC | 7.63:1 | AAA | Lc 51.1 | Large or bold text, headings |
| #BA81FC text on white | 2.75:1 | Fails | Lc 52.9 | Large or bold text, headings |
| #BA81FC text on black | 7.63:1 | AAA | Lc -49.0 | 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
#EEE5FC
oklch(93.6% 0.032 303.5)
-
Step 200
200
#E1D0FC
oklch(88.5% 0.062 302.7)
-
Step 300
300
#D0AFFC
oklch(81% 0.112 303.6)
-
Step 400
400 (this color)
#BA81FC
oklch(71.1% 0.18 303.6)
-
Step 500
500
#A858F8
oklch(63.1% 0.23 303.4)
-
Step 600
600
#9433E6
oklch(55.6% 0.249 303.5)
-
Step 700
700
#7F21C8
oklch(49.1% 0.232 303.8)
-
Step 800
800
#6720A2
oklch(42.7% 0.193 303.7)
-
Step 900
900
#532381
oklch(37.7% 0.15 303.2)
-
Step 950
950
#31164B
oklch(27% 0.095 304.1)
#BA81FC 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) | #5C9AFF | 0.130 |
| Deuteranopia (no green cones) | #6B9CF9 | 0.120 |
| Tritanopia (no blue cones) | #AE97B3 | 0.135 |
| Achromatopsia (no color) | #9C9C9C | 0.181 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA81FC
#BA81FC
oklch(71.1% 0.18 303.6)
- #8CB200
#8CB200
oklch(71% 0.175 123.6)
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 #BA81FC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.023
- Easter Purple #C071FE ΔE 0.035
- Liliac #C48EFD ΔE 0.036
- Light Urple #B36FF6 ΔE 0.042
- Periwinkle #8E82FE ΔE 0.068
- Bright Lavender #C760FF ΔE 0.069
- Baby Purple #CA9BF7 ΔE 0.071
- Lavender Blue #8B88F8 ΔE 0.072
Use #BA81FC 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.