#AFA7C5
Closest named color: French Gray (#ADB5BD). oklch(74.5% 0.043 297.5), rgb(175, 167, 197).
Aa
Black text reads best on this color (9.15:1).
About this color
#AFA7C5 is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.043 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is French Gray (#ADB5BD), ΔE 0.043 away. Black text reads best on it, at 9.15:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | muted (0.043) |
| Temperature | in between |
| Nearest name | French Gray (#ADB5BD) |
| Black text | 9.15:1 |
| White text | 2.29:1 |
Values
| HEX | #AFA7C5 |
| RGB | rgb(175, 167, 197) |
| HSL | hsl(256, 21%, 71%) |
| OKLCH | oklch(74.5% 0.043 297.5) |
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 #AFA7C5 | 2.29:1 | Fails | Lc -50.1 | Large or bold text, headings |
| Black text on #AFA7C5 | 9.15:1 | AAA | Lc 58.7 | Large or bold text, headings |
| #AFA7C5 text on white | 2.29:1 | Fails | Lc 45.2 | Large or bold text, headings |
| #AFA7C5 text on black | 9.15:1 | AAA | Lc -56.9 | Large or bold text, headings |
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 400.
-
Step 50
50
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#EAE9EF
oklch(93.7% 0.008 293.9)
-
Step 200
200
#DAD7E2
oklch(88.5% 0.015 298.5)
-
Step 300
300
#C2BDD0
oklch(80.8% 0.027 297.8)
-
Step 400
400 (this color)
#AFA7C5
oklch(74.5% 0.043 297.5)
-
Step 500
500
#8D83A7
oklch(63.2% 0.054 297.5)
-
Step 600
600
#776C93
oklch(55.6% 0.061 297.3)
-
Step 700
700
#645A7D
oklch(49.1% 0.056 297.4)
-
Step 800
800
#524A66
oklch(42.8% 0.047 297.5)
-
Step 900
900
#443E53
oklch(37.8% 0.036 297.7)
-
Step 950
950
#282430
oklch(27% 0.023 300.1)
#AFA7C5 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) | #A1ABC6 | 0.021 |
| Deuteranopia (no green cones) | #A2ABC4 | 0.020 |
| Tritanopia (no blue cones) | #ABABB1 | 0.035 |
| Achromatopsia (no color) | #ABABAB | 0.044 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA7C5
#AFA7C5
oklch(74.5% 0.043 297.5)
- #AAB092
#AAB092
oklch(74.4% 0.042 116.6)
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 #AFA7C5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- French Gray #ADB5BD ΔE 0.043
- Cool Steel #97A7B3 ΔE 0.044
- Dark Gray #A9A9A9 ΔE 0.045
- Light Grey Blue #9DBCD4 ΔE 0.056
- Pinkish Grey #C8ACA9 ΔE 0.058
- Cool Grey #95A3A6 ΔE 0.060
- Bluey Grey #89A0B0 ΔE 0.065
- Light Mauve #C292A1 ΔE 0.065
Use #AFA7C5 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.