#AF72A2
Closest named color: Soft Purple (#A66FB5). oklch(63.2% 0.1 334.7), rgb(175, 114, 162).
Aa
Black text reads best on this color (5.75:1).
About this color
#AF72A2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.100 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.036 away. Black text reads best on it, at 5.75:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.100) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.75:1 |
| White text | 3.65:1 |
Values
| HEX | #AF72A2 |
| RGB | rgb(175, 114, 162) |
| HSL | hsl(313, 28%, 57%) |
| OKLCH | oklch(63.2% 0.1 334.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 #AF72A2 | 3.65:1 | AA large text | Lc -69.4 | Content text, not long reading |
| Black text on #AF72A2 | 5.75:1 | AA | Lc 40.1 | Non-text elements, placeholder text |
| #AF72A2 text on white | 3.65:1 | AA large text | Lc 64.0 | Content text, not long reading |
| #AF72A2 text on black | 5.75:1 | AA | Lc -37.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
#F8F4F7
oklch(97.1% 0.006 334)
-
Step 100
100
#F0E6EE
oklch(93.5% 0.015 332.2)
-
Step 200
200
#E5D3E0
oklch(88.5% 0.026 335.5)
-
Step 300
300
#D5B5CD
oklch(80.8% 0.049 334.9)
-
Step 400
400
#C08EB4
oklch(70.7% 0.079 335.2)
-
Step 500
500 (this color)
#AF72A2
oklch(63.2% 0.1 334.7)
-
Step 600
600
#9A598D
oklch(55.6% 0.11 334.7)
-
Step 700
700
#834978
oklch(49.1% 0.101 334.4)
-
Step 800
800
#6B3C61
oklch(42.7% 0.084 335.3)
-
Step 900
900
#57344F
oklch(37.8% 0.065 335.6)
-
Step 950
950
#331F2F
oklch(27.1% 0.041 334.1)
#AF72A2 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) | #7280A4 | 0.098 |
| Deuteranopia (no green cones) | #8189A0 | 0.091 |
| Tritanopia (no blue cones) | #B57583 | 0.051 |
| Achromatopsia (no color) | #868686 | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF72A2
#AF72A2
oklch(63.2% 0.1 334.7)
- #549C6E
#549C6E
oklch(63.3% 0.101 154.3)
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 #AF72A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.036
- Dark Lilac #9C6DA5 ΔE 0.037
- Heather #A484AC ΔE 0.046
- Wisteria #A87DC2 ΔE 0.049
- Dusty Lavender #AC86A8 ΔE 0.049
- Mauve #AE7181 ΔE 0.050
- Faded Purple #916E99 ΔE 0.055
- Purpley Grey #947E94 ΔE 0.060
Use #AF72A2 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.