#BA40FD
Closest named color: Neon Purple (#BC13FE). oklch(63% 0.266 310.2), rgb(186, 64, 253).
Aa
Black text reads best on this color (5.23:1).
About this color
#BA40FD is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.266 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Neon Purple (#BC13FE), ΔE 0.039 away. Black text reads best on it, at 5.23:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.266) |
| Temperature | in between |
| Nearest name | Neon Purple (#BC13FE) |
| Black text | 5.23:1 |
| White text | 4.00:1 |
Values
| HEX | #BA40FD |
| RGB | rgb(186, 64, 253) |
| HSL | hsl(279, 98%, 62%) |
| OKLCH | oklch(63% 0.266 310.2) |
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 #BA40FD | 4.00:1 | AA large text | Lc -71.7 | Content text, not long reading |
| Black text on #BA40FD | 5.23:1 | AA | Lc 37.9 | Non-text elements, placeholder text |
| #BA40FD text on white | 4.00:1 | AA large text | Lc 66.2 | Content text, not long reading |
| #BA40FD text on black | 5.23:1 | AA | Lc -35.5 | 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 500.
-
Step 50
50
#F9F2FE
oklch(97% 0.017 311.6)
-
Step 100
100
#F2E3FD
oklch(93.5% 0.038 311.1)
-
Step 200
200
#E8CCFD
oklch(88.4% 0.073 310.6)
-
Step 300
300
#DAA8FF
oklch(80.8% 0.13 310)
-
Step 400
400
#C873FF
oklch(70.6% 0.208 310.1)
-
Step 500
500 (this color)
#BA40FD
oklch(63% 0.266 310.2)
-
Step 600
600
#A500E9
oklch(55.6% 0.281 310.2)
-
Step 700
700
#8B00C5
oklch(49.1% 0.248 310.2)
-
Step 800
800
#7300A3
oklch(42.7% 0.216 310.5)
-
Step 900
900
#5D1284
oklch(37.7% 0.174 309.8)
-
Step 950
950
#370F4D
oklch(27.1% 0.11 310.5)
#BA40FD 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) | #007AFF | 0.221 |
| Deuteranopia (no green cones) | #0281F9 | 0.224 |
| Tritanopia (no blue cones) | #B16D9D | 0.180 |
| Achromatopsia (no color) | #7F7F7F | 0.269 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA40FD
#BA40FD
oklch(63% 0.266 310.2)
- #659C00
#659C00
oklch(63% 0.17 130.2)
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 #BA40FD, closest first.
No curated palette has a color within ΔE 0.04 of #BA40FD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Neon Purple #BC13FE ΔE 0.039
- Bright Purple #BE03FD ΔE 0.044
- Electric Purple #AA23FF ΔE 0.047
- Hot Purple #CB00F5 ΔE 0.053
- Lighter Purple #A55AF4 ΔE 0.054
- Bright Violet #AD0AFD ΔE 0.054
- Bright Lilac #C95EFB ΔE 0.059
- Bright Lavender #C760FF ΔE 0.060
Use #BA40FD 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.