#B171BF
Closest named color: Soft Purple (#A66FB5). oklch(64.5% 0.132 320.2), rgb(177, 113, 191).
Aa
Black text reads best on this color (5.98:1).
About this color
#B171BF is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.132 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.024 away. Black text reads best on it, at 5.98:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.132) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.98:1 |
| White text | 3.50:1 |
Values
| HEX | #B171BF |
| RGB | rgb(177, 113, 191) |
| HSL | hsl(289, 38%, 60%) |
| OKLCH | oklch(64.5% 0.132 320.2) |
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 #B171BF | 3.50:1 | AA large text | Lc -67.9 | Content text, not long reading |
| Black text on #B171BF | 5.98:1 | AA | Lc 41.6 | Non-text elements, placeholder text |
| #B171BF text on white | 3.50:1 | AA large text | Lc 62.5 | Content text, not long reading |
| #B171BF text on black | 5.98:1 | AA | Lc -39.2 | 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
#F0E6F2
oklch(93.6% 0.019 320.6)
-
Step 200
200
#E4D2E8
oklch(88.5% 0.035 320.1)
-
Step 300
300
#D4B4DB
oklch(81% 0.064 320.2)
-
Step 400
400
#BE8BC9
oklch(70.7% 0.104 320.3)
-
Step 500
500 (this color)
#B171BF
oklch(64.5% 0.132 320.2)
-
Step 600
600
#9853A7
oklch(55.6% 0.145 320.2)
-
Step 700
700
#81438F
oklch(49.1% 0.134 320)
-
Step 800
800
#693874
oklch(42.7% 0.11 320)
-
Step 900
900
#56315E
oklch(37.8% 0.087 320.3)
-
Step 950
950
#321D37
oklch(27% 0.055 319.7)
#B171BF 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) | #6684C2 | 0.117 |
| Deuteranopia (no green cones) | #778BBD | 0.106 |
| Tritanopia (no blue cones) | #B27A8F | 0.083 |
| Achromatopsia (no color) | #898989 | 0.133 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B171BF
#B171BF
oklch(64.5% 0.132 320.2)
- #5EA151
#5EA151
oklch(64.5% 0.132 140.4)
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 #B171BF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.024
- Wisteria #A87DC2 ΔE 0.031
- Deep Lilac #966EBD ΔE 0.047
- Dark Lilac #9C6DA5 ΔE 0.054
- Amethyst #9B5FC0 ΔE 0.062
- Heather #A484AC ΔE 0.065
- Medium Purple #9370DB ΔE 0.067
- Pale Magenta #D767AD ΔE 0.071
Use #B171BF 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.