#B172AC
Closest named color: Soft Purple (#A66FB5). oklch(63.8% 0.111 329.6), rgb(177, 114, 172).
Aa
Black text reads best on this color (5.87:1).
About this color
#B172AC is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.111 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.027 away. Black text reads best on it, at 5.87:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.111) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.87:1 |
| White text | 3.57:1 |
Values
| HEX | #B172AC |
| RGB | rgb(177, 114, 172) |
| HSL | hsl(305, 29%, 57%) |
| OKLCH | oklch(63.8% 0.111 329.6) |
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 #B172AC | 3.57:1 | AA large text | Lc -68.7 | Content text, not long reading |
| Black text on #B172AC | 5.87:1 | AA | Lc 40.9 | Non-text elements, placeholder text |
| #B172AC text on white | 3.57:1 | AA large text | Lc 63.2 | Content text, not long reading |
| #B172AC text on black | 5.87:1 | AA | Lc -38.5 | 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
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#F0E6EF
oklch(93.5% 0.016 328.8)
-
Step 200
200
#E5D2E3
oklch(88.4% 0.031 329.1)
-
Step 300
300
#D5B5D2
oklch(81% 0.053 329.1)
-
Step 400
400
#C08DBB
oklch(70.7% 0.087 329.8)
-
Step 500
500 (this color)
#B172AC
oklch(63.8% 0.111 329.6)
-
Step 600
600
#9A5795
oklch(55.6% 0.121 329.8)
-
Step 700
700
#83477F
oklch(49.1% 0.112 329.6)
-
Step 800
800
#6B3B67
oklch(42.8% 0.092 330.1)
-
Step 900
900
#573354
oklch(37.8% 0.072 329.9)
-
Step 950
950
#331E31
oklch(27% 0.045 330.1)
#B172AC 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) | #6F82AE | 0.106 |
| Deuteranopia (no green cones) | #7F8AAA | 0.096 |
| Tritanopia (no blue cones) | #B67787 | 0.062 |
| Achromatopsia (no color) | #878787 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B172AC
#B172AC
oklch(63.8% 0.111 329.6)
- #569E66
#569E66
oklch(63.7% 0.111 149.5)
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 #B172AC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.027
- Wisteria #A87DC2 ΔE 0.039
- Dark Lilac #9C6DA5 ΔE 0.040
- Heather #A484AC ΔE 0.049
- Dusty Lavender #AC86A8 ΔE 0.053
- Deep Lilac #966EBD ΔE 0.056
- Faded Purple #916E99 ΔE 0.063
- Mauve #AE7181 ΔE 0.065
Use #B172AC 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.