#AF7FA6
Closest named color: Dusty Lavender (#AC86A8). oklch(65.6% 0.08 333.2), rgb(175, 127, 166).
Aa
Black text reads best on this color (6.40:1).
About this color
#AF7FA6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.080 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.018 away. Black text reads best on it, at 6.40:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.080) |
| Temperature | in between |
| Nearest name | Dusty Lavender (#AC86A8) |
| Black text | 6.40:1 |
| White text | 3.27:1 |
Values
| HEX | #AF7FA6 |
| RGB | rgb(175, 127, 166) |
| HSL | hsl(311, 23%, 59%) |
| OKLCH | oklch(65.6% 0.08 333.2) |
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 #AF7FA6 | 3.27:1 | AA large text | Lc -65.5 | Content text, not long reading |
| Black text on #AF7FA6 | 6.40:1 | AA | Lc 44.0 | Non-text elements, placeholder text |
| #AF7FA6 text on white | 3.27:1 | AA large text | Lc 60.0 | Content text, not long reading |
| #AF7FA6 text on black | 6.40:1 | AA | Lc -41.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
#EFE7ED
oklch(93.6% 0.012 334.1)
-
Step 200
200
#E2D4DF
oklch(88.4% 0.021 332.9)
-
Step 300
300
#D1B8CB
oklch(81% 0.038 334.3)
-
Step 400
400
#B993B1
oklch(70.8% 0.061 333.7)
-
Step 500
500 (this color)
#AF7FA6
oklch(65.6% 0.08 333.2)
-
Step 600
600
#926089
oklch(55.7% 0.086 333.3)
-
Step 700
700
#7C4F74
oklch(49.1% 0.08 333.3)
-
Step 800
800
#65415F
oklch(42.8% 0.067 332.8)
-
Step 900
900
#52374D
oklch(37.6% 0.051 333.3)
-
Step 950
950
#30202D
oklch(26.9% 0.033 333.2)
#AF7FA6 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) | #7F8AA8 | 0.076 |
| Deuteranopia (no green cones) | #8A90A4 | 0.070 |
| Tritanopia (no blue cones) | #B4818D | 0.040 |
| Achromatopsia (no color) | #8E8E8E | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7FA6
#AF7FA6
oklch(65.6% 0.08 333.2)
- #6AA07A
#6AA07A
oklch(65.7% 0.081 153.1)
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 #AF7FA6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusty Lavender #AC86A8 ΔE 0.018
- Heather #A484AC ΔE 0.021
- Wisteria #A87DC2 ΔE 0.046
- Purpley Grey #947E94 ΔE 0.053
- English Lavender #9D8189 ΔE 0.056
- Soft Purple #A66FB5 ΔE 0.056
- Mauve #AE7181 ΔE 0.056
- Old Pink #C77986 ΔE 0.058
Use #AF7FA6 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.