#AF74A2
Closest named color: Soft Purple (#A66FB5). oklch(63.5% 0.096 335), rgb(175, 116, 162).
Aa
Black text reads best on this color (5.84:1).
About this color
#AF74A2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.096 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.039 away. Black text reads best on it, at 5.84:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.84:1 |
| White text | 3.59:1 |
Values
| HEX | #AF74A2 |
| RGB | rgb(175, 116, 162) |
| HSL | hsl(313, 27%, 57%) |
| OKLCH | oklch(63.5% 0.096 335) |
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 #AF74A2 | 3.59:1 | AA large text | Lc -68.9 | Content text, not long reading |
| Black text on #AF74A2 | 5.84:1 | AA | Lc 40.7 | Non-text elements, placeholder text |
| #AF74A2 text on white | 3.59:1 | AA large text | Lc 63.4 | Content text, not long reading |
| #AF74A2 text on black | 5.84:1 | AA | Lc -38.3 | 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
#F0E7ED
oklch(93.7% 0.013 337.5)
-
Step 200
200
#E5D3E0
oklch(88.5% 0.026 335.5)
-
Step 300
300
#D5B6CD
oklch(81% 0.047 335.2)
-
Step 400
400
#BF8FB3
oklch(70.7% 0.075 335.6)
-
Step 500
500 (this color)
#AF74A2
oklch(63.5% 0.096 335)
-
Step 600
600
#995A8C
oklch(55.6% 0.106 334.9)
-
Step 700
700
#824A77
oklch(49.1% 0.098 334.6)
-
Step 800
800
#6A3D60
oklch(42.7% 0.08 335.6)
-
Step 900
900
#56344F
oklch(37.6% 0.064 334.6)
-
Step 950
950
#331F2E
oklch(27.1% 0.04 336.2)
#AF74A2 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) | #7482A4 | 0.095 |
| Deuteranopia (no green cones) | #838AA0 | 0.087 |
| Tritanopia (no blue cones) | #B57684 | 0.048 |
| Achromatopsia (no color) | #878787 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF74A2
#AF74A2
oklch(63.5% 0.096 335)
- #579C71
#579C71
oklch(63.5% 0.096 155.2)
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 #AF74A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.039
- Dark Lilac #9C6DA5 ΔE 0.040
- Heather #A484AC ΔE 0.041
- Dusty Lavender #AC86A8 ΔE 0.045
- Wisteria #A87DC2 ΔE 0.048
- Mauve #AE7181 ΔE 0.048
- Faded Purple #916E99 ΔE 0.056
- Purpley Grey #947E94 ΔE 0.058
Use #AF74A2 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.