#BA2FB8
Closest named color: Purpley Pink (#C83CB9). oklch(57.2% 0.227 328.7), rgb(186, 47, 184).
Aa
White text reads best on this color (5.01:1).
About this color
#BA2FB8 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.227 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.036 away. White text reads best on it, at 5.01:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.227) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.18:1 |
| White text | 5.01:1 |
Values
| HEX | #BA2FB8 |
| RGB | rgb(186, 47, 184) |
| HSL | hsl(301, 60%, 46%) |
| OKLCH | oklch(57.2% 0.227 328.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 #BA2FB8 | 5.01:1 | AA | Lc -78.8 | Fine for body text |
| Black text on #BA2FB8 | 4.18:1 | AA large text | Lc 30.7 | Non-text elements, placeholder text |
| #BA2FB8 text on white | 5.01:1 | AA | Lc 73.4 | Content text, not long reading |
| #BA2FB8 text on black | 4.18:1 | AA large text | Lc -28.3 | Dividers and decoration only |
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 600.
-
Step 50
50
#FBF2FA
oklch(97% 0.014 329.1)
-
Step 100
100
#F6E3F4
oklch(93.6% 0.03 329.1)
-
Step 200
200
#EFCCEC
oklch(88.4% 0.057 328.8)
-
Step 300
300
#E5A9E1
oklch(80.8% 0.101 328.7)
-
Step 400
400
#D678D2
oklch(70.7% 0.162 328.7)
-
Step 500
500
#C94EC6
oklch(63% 0.208 328.7)
-
Step 600
600 (this color)
#BA2FB8
oklch(57.2% 0.227 328.7)
-
Step 700
700
#9B179A
oklch(49.1% 0.211 328.6)
-
Step 800
800
#7E197D
oklch(42.8% 0.174 328.6)
-
Step 900
900
#661D64
oklch(37.7% 0.137 329)
-
Step 950
950
#3C133B
oklch(27% 0.087 328.6)
#BA2FB8 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) | #1364BC | 0.245 |
| Deuteranopia (no green cones) | #5775B5 | 0.205 |
| Tritanopia (no blue cones) | #C04572 | 0.125 |
| Achromatopsia (no color) | #6F6F6F | 0.229 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA2FB8
#BA2FB8
oklch(57.2% 0.227 328.7)
- #00913C
#00913C
oklch(57.3% 0.163 148.8)
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 #BA2FB8, closest first.
No curated palette has a color within ΔE 0.04 of #BA2FB8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.036
- Pinky Purple #C94CBE ΔE 0.057
- Purply #983FB2 ΔE 0.066
- Medium Orchid #BA55D3 ΔE 0.068
- Dark Orchid #9932CC ΔE 0.075
- Purple Pink #D725DE ΔE 0.077
- Vibrant Purple #AD03DE ΔE 0.077
- Medium Violet Red #C71585 ΔE 0.084
Use #BA2FB8 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.