#B170BB
Closest named color: Soft Purple (#A66FB5). oklch(64.1% 0.13 322.1), rgb(177, 112, 187).
Aa
Black text reads best on this color (5.90:1).
About this color
#B170BB is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.130 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.021 away. Black text reads best on it, at 5.90:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.130) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.90:1 |
| White text | 3.55:1 |
Values
| HEX | #B170BB |
| RGB | rgb(177, 112, 187) |
| HSL | hsl(292, 36%, 59%) |
| OKLCH | oklch(64.1% 0.13 322.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 #B170BB | 3.55:1 | AA large text | Lc -68.4 | Content text, not long reading |
| Black text on #B170BB | 5.90:1 | AA | Lc 41.1 | Non-text elements, placeholder text |
| #B170BB text on white | 3.55:1 | AA large text | Lc 62.9 | Content text, not long reading |
| #B170BB text on black | 5.90:1 | AA | Lc -38.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
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#F0E6F1
oklch(93.6% 0.018 323)
-
Step 200
200
#E5D2E7
oklch(88.5% 0.035 322.9)
-
Step 300
300
#D5B4D9
oklch(81% 0.063 322.7)
-
Step 400
400
#BF8BC6
oklch(70.7% 0.102 322.5)
-
Step 500
500 (this color)
#B170BB
oklch(64.1% 0.13 322.1)
-
Step 600
600
#9953A4
oklch(55.6% 0.142 322)
-
Step 700
700
#82438C
oklch(49% 0.132 322)
-
Step 800
800
#6A3872
oklch(42.7% 0.109 321.9)
-
Step 900
900
#56315C
oklch(37.7% 0.084 321.8)
-
Step 950
950
#331D36
oklch(27.1% 0.054 322.6)
#B170BB 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) | #6783BE | 0.116 |
| Deuteranopia (no green cones) | #788AB9 | 0.105 |
| Tritanopia (no blue cones) | #B3798D | 0.080 |
| Achromatopsia (no color) | #888888 | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B170BB
#B170BB
oklch(64.1% 0.13 322.1)
- #5BA054
#5BA054
oklch(64.1% 0.13 142)
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 #B170BB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.021
- Wisteria #A87DC2 ΔE 0.033
- Deep Lilac #966EBD ΔE 0.047
- Dark Lilac #9C6DA5 ΔE 0.049
- Amethyst #9B5FC0 ΔE 0.061
- Heather #A484AC ΔE 0.063
- Pale Magenta #D767AD ΔE 0.069
- Dusty Lavender #AC86A8 ΔE 0.070
Use #B170BB 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.