#BA40FF
Closest named color: Neon Purple (#BC13FE). oklch(63.2% 0.268 309.7), rgb(186, 64, 255).
Aa
Black text reads best on this color (5.26:1).
About this color
#BA40FF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.268 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.26:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.268) |
| Temperature | in between |
| Nearest name | Neon Purple (#BC13FE) |
| Black text | 5.26:1 |
| White text | 3.98:1 |
Values
| HEX | #BA40FF |
| RGB | rgb(186, 64, 255) |
| HSL | hsl(278, 100%, 63%) |
| OKLCH | oklch(63.2% 0.268 309.7) |
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 #BA40FF | 3.98:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #BA40FF | 5.26:1 | AA | Lc 38.0 | Non-text elements, placeholder text |
| #BA40FF text on white | 3.98:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #BA40FF text on black | 5.26:1 | AA | Lc -35.6 | 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
#F9F2FF
oklch(97% 0.019 309.8)
-
Step 100
100
#F2E3FD
oklch(93.5% 0.038 311.1)
-
Step 200
200
#E8CCFE
oklch(88.4% 0.074 310.1)
-
Step 300
300
#DAA9FF
oklch(81% 0.128 309.8)
-
Step 400
400
#C774FF
oklch(70.7% 0.207 309.7)
-
Step 500
500 (this color)
#BA40FF
oklch(63.2% 0.268 309.7)
-
Step 600
600
#A400EA
oklch(55.6% 0.282 309.6)
-
Step 700
700
#8B00C6
oklch(49.1% 0.249 309.9)
-
Step 800
800
#7200A4
oklch(42.7% 0.216 309.7)
-
Step 900
900
#5D1185
oklch(37.7% 0.176 309.5)
-
Step 950
950
#370F4E
oklch(27.1% 0.111 309.9)
#BA40FF 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) | #0081FB | 0.224 |
| Tritanopia (no blue cones) | #B06E9E | 0.182 |
| Achromatopsia (no color) | #7F7F7F | 0.270 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA40FF
#BA40FF
oklch(63.2% 0.268 309.7)
- #679C00
#679C00
oklch(63.1% 0.169 129.7)
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 #BA40FF, closest first.
No curated palette has a color within ΔE 0.04 of #BA40FF.
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.054
- Bright Violet #AD0AFD ΔE 0.054
- Lighter Purple #A55AF4 ΔE 0.054
- Bright Lilac #C95EFB ΔE 0.059
- Bright Lavender #C760FF ΔE 0.060
Use #BA40FF 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.