#AB71B2
Closest named color: Soft Purple (#A66FB5). oklch(63.2% 0.115 323), rgb(171, 113, 178).
Aa
Black text reads best on this color (5.73:1).
About this color
#AB71B2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.115 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.012 away. Black text reads best on it, at 5.73:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.115) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.73:1 |
| White text | 3.66:1 |
Values
| HEX | #AB71B2 |
| RGB | rgb(171, 113, 178) |
| HSL | hsl(294, 30%, 57%) |
| OKLCH | oklch(63.2% 0.115 323) |
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 #AB71B2 | 3.66:1 | AA large text | Lc -69.5 | Content text, not long reading |
| Black text on #AB71B2 | 5.73:1 | AA | Lc 40.0 | Non-text elements, placeholder text |
| #AB71B2 text on white | 3.66:1 | AA large text | Lc 64.0 | Content text, not long reading |
| #AB71B2 text on black | 5.73:1 | AA | Lc -37.6 | 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
#EFE6F0
oklch(93.5% 0.016 322.7)
-
Step 200
200
#E4D3E5
oklch(88.6% 0.03 324.2)
-
Step 300
300
#D3B5D6
oklch(80.9% 0.056 323.2)
-
Step 400
400
#BC8EC1
oklch(70.7% 0.089 323.2)
-
Step 500
500 (this color)
#AB71B2
oklch(63.2% 0.115 323)
-
Step 600
600
#96589D
oklch(55.7% 0.124 323.3)
-
Step 700
700
#7F4786
oklch(48.9% 0.116 323)
-
Step 800
800
#683B6D
oklch(42.7% 0.096 323.4)
-
Step 900
900
#543358
oklch(37.6% 0.074 323)
-
Step 950
950
#311E34
oklch(26.9% 0.048 321.9)
#AB71B2 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) | #6A81B4 | 0.103 |
| Deuteranopia (no green cones) | #7988B0 | 0.093 |
| Tritanopia (no blue cones) | #AD7889 | 0.071 |
| Achromatopsia (no color) | #868686 | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB71B2
#AB71B2
oklch(63.2% 0.115 323)
- #5E9B5A
#5E9B5A
oklch(63.1% 0.114 142.8)
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 #AB71B2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.012
- Wisteria #A87DC2 ΔE 0.033
- Dark Lilac #9C6DA5 ΔE 0.034
- Deep Lilac #966EBD ΔE 0.042
- Heather #A484AC ΔE 0.053
- Faded Purple #916E99 ΔE 0.059
- Dusty Lavender #AC86A8 ΔE 0.061
- Amethyst #9B5FC0 ΔE 0.063
Use #AB71B2 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.