#AF7EA7
Closest named color: Dusty Lavender (#AC86A8). oklch(65.5% 0.082 332.3), rgb(175, 126, 167).
Aa
Black text reads best on this color (6.36:1).
About this color
#AF7EA7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.082 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.021 away. Black text reads best on it, at 6.36:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.082) |
| Temperature | in between |
| Nearest name | Dusty Lavender (#AC86A8) |
| Black text | 6.36:1 |
| White text | 3.29:1 |
Values
| HEX | #AF7EA7 |
| RGB | rgb(175, 126, 167) |
| HSL | hsl(310, 23%, 59%) |
| OKLCH | oklch(65.5% 0.082 332.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 #AF7EA7 | 3.29:1 | AA large text | Lc -65.7 | Content text, not long reading |
| Black text on #AF7EA7 | 6.36:1 | AA | Lc 43.8 | Non-text elements, placeholder text |
| #AF7EA7 text on white | 3.29:1 | AA large text | Lc 60.3 | Content text, not long reading |
| #AF7EA7 text on black | 6.36:1 | AA | Lc -41.4 | 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
#EFE7ED
oklch(93.6% 0.012 334.1)
-
Step 200
200
#E3D4E0
oklch(88.6% 0.023 332.4)
-
Step 300
300
#D1B8CC
oklch(81% 0.039 332.7)
-
Step 400
400
#B992B2
oklch(70.6% 0.064 332.5)
-
Step 500
500 (this color)
#AF7EA7
oklch(65.5% 0.082 332.3)
-
Step 600
600
#925F8A
oklch(55.5% 0.089 332.4)
-
Step 700
700
#7C4E75
oklch(49% 0.083 332.4)
-
Step 800
800
#654060
oklch(42.6% 0.07 331.6)
-
Step 900
900
#53374E
oklch(37.8% 0.053 333.1)
-
Step 950
950
#30202E
oklch(26.9% 0.034 330.8)
#AF7EA7 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) | #7D89A9 | 0.078 |
| Deuteranopia (no green cones) | #8990A5 | 0.073 |
| Tritanopia (no blue cones) | #B3808C | 0.043 |
| Achromatopsia (no color) | #8D8D8D | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7EA7
#AF7EA7
oklch(65.5% 0.082 332.3)
- #69A078
#69A078
oklch(65.6% 0.083 152.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 #AF7EA7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusty Lavender #AC86A8 ΔE 0.021
- Heather #A484AC ΔE 0.022
- Wisteria #A87DC2 ΔE 0.043
- Soft Purple #A66FB5 ΔE 0.053
- Purpley Grey #947E94 ΔE 0.054
- Mauve #AE7181 ΔE 0.057
- Dark Lilac #9C6DA5 ΔE 0.057
- English Lavender #9D8189 ΔE 0.058
Use #AF7EA7 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.