#BA5FC2
Closest named color: Medium Orchid (#BA55D3). oklch(63% 0.171 324.3), rgb(186, 95, 194).
Aa
Black text reads best on this color (5.50:1).
About this color
#BA5FC2 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.171 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.036 away. Black text reads best on it, at 5.50:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.171) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.50:1 |
| White text | 3.81:1 |
Values
| HEX | #BA5FC2 |
| RGB | rgb(186, 95, 194) |
| HSL | hsl(295, 45%, 57%) |
| OKLCH | oklch(63% 0.171 324.3) |
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 #BA5FC2 | 3.81:1 | AA large text | Lc -70.7 | Content text, not long reading |
| Black text on #BA5FC2 | 5.50:1 | AA | Lc 38.9 | Non-text elements, placeholder text |
| #BA5FC2 text on white | 3.81:1 | AA large text | Lc 65.2 | Content text, not long reading |
| #BA5FC2 text on black | 5.50:1 | AA | Lc -36.4 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F2E5F3
oklch(93.6% 0.023 323.6)
-
Step 200
200
#E9CFEB
oklch(88.4% 0.047 323.8)
-
Step 300
300
#DCAFDF
oklch(81% 0.082 324.3)
-
Step 400
400
#C982CF
oklch(70.6% 0.134 324.1)
-
Step 500
500 (this color)
#BA5FC2
oklch(63% 0.171 324.3)
-
Step 600
600
#A642AF
oklch(55.6% 0.187 324.3)
-
Step 700
700
#8E3396
oklch(49.1% 0.173 324.4)
-
Step 800
800
#732C7A
oklch(42.7% 0.142 324)
-
Step 900
900
#5D2962
oklch(37.7% 0.11 324)
-
Step 950
950
#371939
oklch(27.1% 0.069 324.9)
#BA5FC2 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) | #527BC5 | 0.164 |
| Deuteranopia (no green cones) | #6E86BF | 0.145 |
| Tritanopia (no blue cones) | #BD6B88 | 0.101 |
| Achromatopsia (no color) | #838383 | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA5FC2
#BA5FC2
oklch(63% 0.171 324.3)
- #36A23D
#36A23D
oklch(62.9% 0.171 144.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 #BA5FC2, closest first.
No curated palette has a color within ΔE 0.04 of #BA5FC2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.036
- Pinky Purple #C94CBE ΔE 0.041
- Soft Purple #A66FB5 ΔE 0.054
- Amethyst #9B5FC0 ΔE 0.056
- Purpley Pink #C83CB9 ΔE 0.063
- Deep Lilac #966EBD ΔE 0.069
- Pale Magenta #D767AD ΔE 0.070
- Wisteria #A87DC2 ΔE 0.073
Use #BA5FC2 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.