#AF73A2
Closest named color: Soft Purple (#A66FB5). oklch(63.4% 0.098 334.9), rgb(175, 115, 162).
Aa
Black text reads best on this color (5.79:1).
About this color
#AF73A2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.098 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.037 away. Black text reads best on it, at 5.79:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.79:1 |
| White text | 3.62:1 |
Values
| HEX | #AF73A2 |
| RGB | rgb(175, 115, 162) |
| HSL | hsl(313, 27%, 57%) |
| OKLCH | oklch(63.4% 0.098 334.9) |
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 #AF73A2 | 3.62:1 | AA large text | Lc -69.2 | Content text, not long reading |
| Black text on #AF73A2 | 5.79:1 | AA | Lc 40.4 | Non-text elements, placeholder text |
| #AF73A2 text on white | 3.62:1 | AA large text | Lc 63.7 | Content text, not long reading |
| #AF73A2 text on black | 5.79:1 | AA | Lc -38.0 | 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
#F0E7EE
oklch(93.7% 0.013 333)
-
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
#BF8FB4
oklch(70.8% 0.076 334.7)
-
Step 500
500 (this color)
#AF73A2
oklch(63.4% 0.098 334.9)
-
Step 600
600
#995A8C
oklch(55.6% 0.106 334.9)
-
Step 700
700
#834977
oklch(49.1% 0.1 335.1)
-
Step 800
800
#6A3D61
oklch(42.8% 0.081 334.6)
-
Step 900
900
#56344F
oklch(37.6% 0.064 334.6)
-
Step 950
950
#331F2E
oklch(27.1% 0.04 336.2)
#AF73A2 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) | #7381A4 | 0.097 |
| Deuteranopia (no green cones) | #828AA0 | 0.089 |
| Tritanopia (no blue cones) | #B57584 | 0.049 |
| Achromatopsia (no color) | #868686 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF73A2
#AF73A2
oklch(63.4% 0.098 334.9)
- #569C70
#569C70
oklch(63.4% 0.098 154.9)
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 #AF73A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.037
- Dark Lilac #9C6DA5 ΔE 0.039
- Heather #A484AC ΔE 0.044
- Dusty Lavender #AC86A8 ΔE 0.047
- Wisteria #A87DC2 ΔE 0.049
- Mauve #AE7181 ΔE 0.049
- Faded Purple #916E99 ΔE 0.055
- Purpley Grey #947E94 ΔE 0.059
Use #AF73A2 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.