#AFA5C7
Closest named color: Cool Steel (#97A7B3). oklch(74.2% 0.05 298.6), rgb(175, 165, 199).
Aa
Black text reads best on this color (9.02:1).
About this color
#AFA5C7 is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.050 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Steel (#97A7B3), ΔE 0.048 away. Black text reads best on it, at 9.02:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | muted (0.050) |
| Temperature | in between |
| Nearest name | Cool Steel (#97A7B3) |
| Black text | 9.02:1 |
| White text | 2.32:1 |
Values
| HEX | #AFA5C7 |
| RGB | rgb(175, 165, 199) |
| HSL | hsl(258, 23%, 71%) |
| OKLCH | oklch(74.2% 0.05 298.6) |
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 #AFA5C7 | 2.32:1 | Fails | Lc -50.8 | Large or bold text, headings |
| Black text on #AFA5C7 | 9.02:1 | AAA | Lc 58.1 | Large or bold text, headings |
| #AFA5C7 text on white | 2.32:1 | Fails | Lc 45.9 | Large or bold text, headings |
| #AFA5C7 text on black | 9.02:1 | AAA | Lc -56.2 | 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
#DAD7E3
oklch(88.5% 0.017 297.5)
-
Step 300
300
#C3BDD2
oklch(81% 0.03 298.8)
-
Step 400
400 (this color)
#AFA5C7
oklch(74.2% 0.05 298.6)
-
Step 500
500
#8E81AB
oklch(63% 0.064 298.7)
-
Step 600
600
#786B97
oklch(55.7% 0.069 297.7)
-
Step 700
700
#655980
oklch(49.1% 0.063 298.2)
-
Step 800
800
#534968
oklch(42.8% 0.052 299)
-
Step 900
900
#443D55
oklch(37.7% 0.041 297.8)
-
Step 950
950
#282432
oklch(27.1% 0.026 297.7)
#AFA5C7 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) | #9FAAC9 | 0.024 |
| Deuteranopia (no green cones) | #A0AAC6 | 0.024 |
| Tritanopia (no blue cones) | #ABAAB0 | 0.041 |
| Achromatopsia (no color) | #AAAAAA | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA5C7
#AFA5C7
oklch(74.2% 0.05 298.6)
- #A8B08D
#A8B08D
oklch(74.1% 0.049 118.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 #AFA5C7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cool Steel #97A7B3 ΔE 0.048
- Dark Gray #A9A9A9 ΔE 0.050
- French Gray #ADB5BD ΔE 0.050
- Light Grey Blue #9DBCD4 ΔE 0.061
- Cool Grey #95A3A6 ΔE 0.063
- Pinkish Grey #C8ACA9 ΔE 0.064
- Pale Purple #B790D4 ΔE 0.064
- Light Mauve #C292A1 ΔE 0.064
Use #AFA5C7 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.