#BA63B7
Closest named color: Soft Purple (#A66FB5). oklch(63% 0.154 328.5), rgb(186, 99, 183).
Aa
Black text reads best on this color (5.55:1).
About this color
#BA63B7 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.154 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.042 away. Black text reads best on it, at 5.55:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.154) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.55:1 |
| White text | 3.77:1 |
Values
| HEX | #BA63B7 |
| RGB | rgb(186, 99, 183) |
| HSL | hsl(302, 39%, 56%) |
| OKLCH | oklch(63% 0.154 328.5) |
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 #BA63B7 | 3.77:1 | AA large text | Lc -70.5 | Content text, not long reading |
| Black text on #BA63B7 | 5.55:1 | AA | Lc 39.1 | Non-text elements, placeholder text |
| #BA63B7 text on white | 3.77:1 | AA large text | Lc 65.0 | Content text, not long reading |
| #BA63B7 text on black | 5.55:1 | AA | Lc -36.7 | 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
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F2E5F1
oklch(93.6% 0.021 328.1)
-
Step 200
200
#E9D0E7
oklch(88.5% 0.041 328.4)
-
Step 300
300
#DCB0D9
oklch(80.9% 0.075 328.5)
-
Step 400
400
#C984C6
oklch(70.6% 0.121 328.3)
-
Step 500
500 (this color)
#BA63B7
oklch(63% 0.154 328.5)
-
Step 600
600
#A548A3
oklch(55.6% 0.166 328.4)
-
Step 700
700
#8E388C
oklch(49.1% 0.157 328.6)
-
Step 800
800
#732F71
oklch(42.6% 0.129 328.7)
-
Step 900
900
#5D2B5C
oklch(37.7% 0.101 328.1)
-
Step 950
950
#371A36
oklch(27.1% 0.064 328.4)
#BA63B7 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) | #5D7CBA | 0.150 |
| Deuteranopia (no green cones) | #7687B4 | 0.134 |
| Tritanopia (no blue cones) | #BF6B84 | 0.086 |
| Achromatopsia (no color) | #838383 | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA63B7
#BA63B7
oklch(63% 0.154 328.5)
- #34A251
#34A251
oklch(63.1% 0.154 148.5)
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 #BA63B7, closest first.
No curated palette has a color within ΔE 0.04 of #BA63B7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.042
- Pinky Purple #C94CBE ΔE 0.052
- Medium Orchid #BA55D3 ΔE 0.056
- Pale Magenta #D767AD ΔE 0.058
- Amethyst #9B5FC0 ΔE 0.060
- Wisteria #A87DC2 ΔE 0.064
- Dark Lilac #9C6DA5 ΔE 0.064
- Deep Lilac #966EBD ΔE 0.064
Use #BA63B7 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.