#B171BD
Closest named color: Soft Purple (#A66FB5). oklch(64.4% 0.13 321.1), rgb(177, 113, 189).
Aa
Black text reads best on this color (5.96:1).
About this color
#B171BD is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.130 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.023 away. Black text reads best on it, at 5.96:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.130) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.96:1 |
| White text | 3.51:1 |
Values
| HEX | #B171BD |
| RGB | rgb(177, 113, 189) |
| HSL | hsl(291, 37%, 59%) |
| OKLCH | oklch(64.4% 0.13 321.1) |
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 #B171BD | 3.51:1 | AA large text | Lc -68.1 | Content text, not long reading |
| Black text on #B171BD | 5.96:1 | AA | Lc 41.5 | Non-text elements, placeholder text |
| #B171BD text on white | 3.51:1 | AA large text | Lc 62.6 | Content text, not long reading |
| #B171BD text on black | 5.96:1 | AA | Lc -39.1 | 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
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#F0E6F1
oklch(93.6% 0.018 323)
-
Step 200
200
#E4D2E8
oklch(88.5% 0.035 320.1)
-
Step 300
300
#D4B4DA
oklch(81% 0.063 321)
-
Step 400
400
#BE8BC7
oklch(70.7% 0.102 321.3)
-
Step 500
500 (this color)
#B171BD
oklch(64.4% 0.13 321.1)
-
Step 600
600
#9854A5
oklch(55.7% 0.141 321)
-
Step 700
700
#82448D
oklch(49.2% 0.131 321.4)
-
Step 800
800
#693873
oklch(42.7% 0.109 320.6)
-
Step 900
900
#56315D
oklch(37.8% 0.085 321.1)
-
Step 950
950
#321D36
oklch(26.9% 0.053 321)
#B171BD 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) | #6784C0 | 0.116 |
| Deuteranopia (no green cones) | #788BBB | 0.105 |
| Tritanopia (no blue cones) | #B37A8E | 0.082 |
| Achromatopsia (no color) | #898989 | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B171BD
#B171BD
oklch(64.4% 0.13 321.1)
- #5DA153
#5DA153
oklch(64.5% 0.131 141.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 #B171BD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.023
- Wisteria #A87DC2 ΔE 0.031
- Deep Lilac #966EBD ΔE 0.047
- Dark Lilac #9C6DA5 ΔE 0.052
- Amethyst #9B5FC0 ΔE 0.062
- Heather #A484AC ΔE 0.063
- Medium Purple #9370DB ΔE 0.069
- Dusty Lavender #AC86A8 ΔE 0.070
Use #B171BD 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.