#BA6DB2
Closest named color: Soft Purple (#A66FB5). oklch(64.3% 0.132 330.8), rgb(186, 109, 178).
Aa
Black text reads best on this color (5.91:1).
About this color
#BA6DB2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.132 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.035 away. Black text reads best on it, at 5.91:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.132) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.91:1 |
| White text | 3.54:1 |
Values
| HEX | #BA6DB2 |
| RGB | rgb(186, 109, 178) |
| HSL | hsl(306, 36%, 58%) |
| OKLCH | oklch(64.3% 0.132 330.8) |
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 #BA6DB2 | 3.54:1 | AA large text | Lc -68.3 | Content text, not long reading |
| Black text on #BA6DB2 | 5.91:1 | AA | Lc 41.3 | Non-text elements, placeholder text |
| #BA6DB2 text on white | 3.54:1 | AA large text | Lc 62.8 | Content text, not long reading |
| #BA6DB2 text on black | 5.91:1 | AA | Lc -38.9 | 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
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F2E6F0
oklch(93.7% 0.018 331.1)
-
Step 200
200
#E8D1E4
oklch(88.5% 0.036 331.6)
-
Step 300
300
#DAB2D4
oklch(80.9% 0.065 331.2)
-
Step 400
400
#C689BF
oklch(70.8% 0.103 330.6)
-
Step 500
500 (this color)
#BA6DB2
oklch(64.3% 0.132 330.8)
-
Step 600
600
#A14F9A
oklch(55.6% 0.144 330.6)
-
Step 700
700
#8A4083
oklch(49.2% 0.133 331.1)
-
Step 800
800
#70356B
oklch(42.7% 0.111 330.6)
-
Step 900
900
#5B2F57
oklch(37.8% 0.086 330.5)
-
Step 950
950
#351C33
oklch(27% 0.054 329.9)
#BA6DB2 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) | #6A81B4 | 0.129 |
| Deuteranopia (no green cones) | #7F8CB0 | 0.116 |
| Tritanopia (no blue cones) | #C07287 | 0.071 |
| Achromatopsia (no color) | #888888 | 0.133 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA6DB2
#BA6DB2
oklch(64.3% 0.132 330.8)
- #46A362
#46A362
oklch(64.3% 0.131 150.9)
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 #BA6DB2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.035
- Wisteria #A87DC2 ΔE 0.047
- Pale Magenta #D767AD ΔE 0.052
- Dark Lilac #9C6DA5 ΔE 0.056
- Deep Lilac #966EBD ΔE 0.064
- Heather #A484AC ΔE 0.068
- Dusty Lavender #AC86A8 ΔE 0.070
- Amethyst #9B5FC0 ΔE 0.074
Use #BA6DB2 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.