#B171C8
Closest named color: Soft Purple (#A66FB5). oklch(64.9% 0.142 316.7), rgb(177, 113, 200).
Aa
Black text reads best on this color (6.06:1).
About this color
#B171C8 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.142 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.034 away. Black text reads best on it, at 6.06:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | vivid (0.142) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 6.06:1 |
| White text | 3.46:1 |
Values
| HEX | #B171C8 |
| RGB | rgb(177, 113, 200) |
| HSL | hsl(284, 44%, 61%) |
| OKLCH | oklch(64.9% 0.142 316.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 #B171C8 | 3.46:1 | AA large text | Lc -67.4 | Content text, not long reading |
| Black text on #B171C8 | 6.06:1 | AA | Lc 42.1 | Non-text elements, placeholder text |
| #B171C8 text on white | 3.46:1 | AA large text | Lc 61.9 | Content text, not long reading |
| #B171C8 text on black | 6.06:1 | AA | Lc -39.7 | 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
#F8F4FA
oklch(97.2% 0.009 314.8)
-
Step 100
100
#EFE6F3
oklch(93.6% 0.02 315.7)
-
Step 200
200
#E4D2EB
oklch(88.6% 0.039 316.6)
-
Step 300
300
#D3B3DF
oklch(80.9% 0.07 316.8)
-
Step 400
400
#BC8ACF
oklch(70.6% 0.112 316.4)
-
Step 500
500 (this color)
#B171C8
oklch(64.9% 0.142 316.7)
-
Step 600
600
#9651AE
oklch(55.5% 0.155 316.7)
-
Step 700
700
#804196
oklch(49% 0.145 316.6)
-
Step 800
800
#68367A
oklch(42.6% 0.12 316.4)
-
Step 900
900
#553062
oklch(37.7% 0.093 316.8)
-
Step 950
950
#321C39
oklch(26.9% 0.06 317.7)
#B171C8 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) | #6286CB | 0.122 |
| Deuteranopia (no green cones) | #738CC5 | 0.111 |
| Tritanopia (no blue cones) | #B07D93 | 0.094 |
| Achromatopsia (no color) | #8A8A8A | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B171C8
#B171C8
oklch(64.9% 0.142 316.7)
- #63A245
#63A245
oklch(64.9% 0.142 136.7)
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 #B171C8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.034
- Wisteria #A87DC2 ΔE 0.035
- Deep Lilac #966EBD ΔE 0.050
- Medium Purple #9370DB ΔE 0.059
- Amethyst #9B5FC0 ΔE 0.060
- Dark Lilac #9C6DA5 ΔE 0.064
- Medium Orchid #BA55D3 ΔE 0.065
- Light Urple #B36FF6 ΔE 0.070
Use #B171C8 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.