#BA45F7
Closest named color: Neon Purple (#BC13FE). oklch(63.1% 0.256 311.2), rgb(186, 69, 247).
Aa
Black text reads best on this color (5.28:1).
About this color
#BA45F7 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.256 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Neon Purple (#BC13FE), ΔE 0.047 away. Black text reads best on it, at 5.28:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.256) |
| Temperature | in between |
| Nearest name | Neon Purple (#BC13FE) |
| Black text | 5.28:1 |
| White text | 3.97:1 |
Values
| HEX | #BA45F7 |
| RGB | rgb(186, 69, 247) |
| HSL | hsl(279, 92%, 62%) |
| OKLCH | oklch(63.1% 0.256 311.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 #BA45F7 | 3.97:1 | AA large text | Lc -71.6 | Content text, not long reading |
| Black text on #BA45F7 | 5.28:1 | AA | Lc 38.0 | Non-text elements, placeholder text |
| #BA45F7 text on white | 3.97:1 | AA large text | Lc 66.1 | Content text, not long reading |
| #BA45F7 text on black | 5.28: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
#F9F2FE
oklch(97% 0.017 311.6)
-
Step 100
100
#F2E4FC
oklch(93.7% 0.035 311.4)
-
Step 200
200
#E8CDFC
oklch(88.6% 0.07 310.7)
-
Step 300
300
#DBA9FC
oklch(80.9% 0.125 311.3)
-
Step 400
400
#C875FA
oklch(70.6% 0.2 311.1)
-
Step 500
500 (this color)
#BA45F7
oklch(63.1% 0.256 311.2)
-
Step 600
600
#A604E6
oklch(55.6% 0.278 311.1)
-
Step 700
700
#8C00C3
oklch(49% 0.247 311.1)
-
Step 800
800
#7401A1
oklch(42.7% 0.214 311.5)
-
Step 900
900
#5D1680
oklch(37.6% 0.167 311)
-
Step 950
950
#37104B
oklch(27% 0.106 311.6)
#BA45F7 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) | #007AFC | 0.219 |
| Deuteranopia (no green cones) | #2682F3 | 0.214 |
| Tritanopia (no blue cones) | #B26D9B | 0.172 |
| Achromatopsia (no color) | #808080 | 0.258 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA45F7
#BA45F7
oklch(63.1% 0.256 311.2)
- #629D00
#629D00
oklch(63.1% 0.173 131.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 #BA45F7, closest first.
No curated palette has a color within ΔE 0.04 of #BA45F7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Neon Purple #BC13FE ΔE 0.047
- Lighter Purple #A55AF4 ΔE 0.048
- Bright Purple #BE03FD ΔE 0.052
- Bright Lilac #C95EFB ΔE 0.053
- Bright Lavender #C760FF ΔE 0.054
- Electric Purple #AA23FF ΔE 0.055
- Hot Purple #CB00F5 ΔE 0.057
- Bright Violet #AD0AFD ΔE 0.062
Use #BA45F7 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.