#AF71A4
Closest named color: Soft Purple (#A66FB5). oklch(63.1% 0.104 333.3), rgb(175, 113, 164).
Aa
Black text reads best on this color (5.72:1).
About this color
#AF71A4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.104 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.032 away. Black text reads best on it, at 5.72:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.104) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.72:1 |
| White text | 3.67:1 |
Values
| HEX | #AF71A4 |
| RGB | rgb(175, 113, 164) |
| HSL | hsl(311, 28%, 56%) |
| OKLCH | oklch(63.1% 0.104 333.3) |
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 #AF71A4 | 3.67:1 | AA large text | Lc -69.6 | Content text, not long reading |
| Black text on #AF71A4 | 5.72:1 | AA | Lc 39.9 | Non-text elements, placeholder text |
| #AF71A4 text on white | 3.67:1 | AA large text | Lc 64.1 | Content text, not long reading |
| #AF71A4 text on black | 5.72:1 | AA | Lc -37.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
#F8F4F7
oklch(97.1% 0.006 334)
-
Step 100
100
#F0E6EE
oklch(93.5% 0.015 332.2)
-
Step 200
200
#E5D3E1
oklch(88.6% 0.027 333.3)
-
Step 300
300
#D6B5CF
oklch(81% 0.051 333.4)
-
Step 400
400
#C08EB6
oklch(70.7% 0.081 333.6)
-
Step 500
500 (this color)
#AF71A4
oklch(63.1% 0.104 333.3)
-
Step 600
600
#9A588F
oklch(55.5% 0.113 333.4)
-
Step 700
700
#83487A
oklch(49% 0.105 332.9)
-
Step 800
800
#6B3C63
oklch(42.8% 0.086 333.5)
-
Step 900
900
#573351
oklch(37.7% 0.069 333.1)
-
Step 950
950
#331E2F
oklch(26.9% 0.043 333.8)
#AF71A4 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) | #7080A6 | 0.101 |
| Deuteranopia (no green cones) | #8089A2 | 0.093 |
| Tritanopia (no blue cones) | #B47484 | 0.052 |
| Achromatopsia (no color) | #858585 | 0.105 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF71A4
#AF71A4
oklch(63.1% 0.104 333.3)
- #539C6B
#539C6B
oklch(63.2% 0.105 153)
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 #AF71A4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.032
- Dark Lilac #9C6DA5 ΔE 0.036
- Wisteria #A87DC2 ΔE 0.048
- Heather #A484AC ΔE 0.048
- Dusty Lavender #AC86A8 ΔE 0.052
- Mauve #AE7181 ΔE 0.054
- Faded Purple #916E99 ΔE 0.055
- Deep Lilac #966EBD ΔE 0.060
Use #AF71A4 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.