#AFA7CA
Closest named color: French Gray (#ADB5BD). oklch(74.7% 0.05 295.6), rgb(175, 167, 202).
Aa
Black text reads best on this color (9.20:1).
About this color
#AFA7CA is a medium-light, muted purple. In OKLCH its lightness is 75%, its chroma 0.050 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is French Gray (#ADB5BD), ΔE 0.048 away. Black text reads best on it, at 9.20:1.
| Hue family | Purples |
| Lightness | medium-light (75%) |
| Chroma | muted (0.050) |
| Temperature | in between |
| Nearest name | French Gray (#ADB5BD) |
| Black text | 9.20:1 |
| White text | 2.28:1 |
Values
| HEX | #AFA7CA |
| RGB | rgb(175, 167, 202) |
| HSL | hsl(254, 25%, 72%) |
| OKLCH | oklch(74.7% 0.05 295.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 #AFA7CA | 2.28:1 | Fails | Lc -49.9 | Large or bold text, headings |
| Black text on #AFA7CA | 9.20:1 | AAA | Lc 59.0 | Large or bold text, headings |
| #AFA7CA text on white | 2.28:1 | Fails | Lc 45.0 | Large or bold text, headings |
| #AFA7CA text on black | 9.20:1 | AAA | Lc -57.1 | 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
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#EAE9EF
oklch(93.7% 0.008 293.9)
-
Step 200
200
#DAD7E4
oklch(88.5% 0.018 296.6)
-
Step 300
300
#C2BDD3
oklch(80.9% 0.031 296.1)
-
Step 400
400 (this color)
#AFA7CA
oklch(74.7% 0.05 295.6)
-
Step 500
500
#8C82AD
oklch(63.1% 0.065 295.1)
-
Step 600
600
#766B98
oklch(55.5% 0.07 295.3)
-
Step 700
700
#645982
oklch(49.1% 0.066 296.2)
-
Step 800
800
#51496A
oklch(42.7% 0.055 295.1)
-
Step 900
900
#433D56
oklch(37.7% 0.043 295.3)
-
Step 950
950
#272432
oklch(27% 0.026 294.4)
#AFA7CA 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) | #A0ACCC | 0.023 |
| Deuteranopia (no green cones) | #A1ABC9 | 0.022 |
| Tritanopia (no blue cones) | #AAACB3 | 0.041 |
| Achromatopsia (no color) | #ACACAC | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA7CA
#AFA7CA
oklch(74.7% 0.05 295.6)
- #ABB18D
#ABB18D
oklch(74.6% 0.05 115.3)
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 #AFA7CA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- French Gray #ADB5BD ΔE 0.048
- Cool Steel #97A7B3 ΔE 0.050
- Dark Gray #A9A9A9 ΔE 0.052
- Light Grey Blue #9DBCD4 ΔE 0.056
- Pinkish Grey #C8ACA9 ΔE 0.064
- Cool Grey #95A3A6 ΔE 0.066
- Pale Purple #B790D4 ΔE 0.066
- Bluey Grey #89A0B0 ΔE 0.069
Use #AFA7CA 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.