#AF7CA7
Closest named color: Heather (#A484AC). oklch(65.1% 0.086 332.1), rgb(175, 124, 167).
Aa
Black text reads best on this color (6.26:1).
About this color
#AF7CA7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.086 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.025 away. Black text reads best on it, at 6.26:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.086) |
| Temperature | in between |
| Nearest name | Heather (#A484AC) |
| Black text | 6.26:1 |
| White text | 3.35:1 |
Values
| HEX | #AF7CA7 |
| RGB | rgb(175, 124, 167) |
| HSL | hsl(309, 24%, 59%) |
| OKLCH | oklch(65.1% 0.086 332.1) |
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 #AF7CA7 | 3.35:1 | AA large text | Lc -66.3 | Content text, not long reading |
| Black text on #AF7CA7 | 6.26:1 | AA | Lc 43.2 | Non-text elements, placeholder text |
| #AF7CA7 text on white | 3.35:1 | AA large text | Lc 60.9 | Content text, not long reading |
| #AF7CA7 text on black | 6.26:1 | AA | Lc -40.8 | 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
#D2B7CD
oklch(80.9% 0.043 332.2)
-
Step 400
400
#BA91B3
oklch(70.6% 0.068 332.2)
-
Step 500
500 (this color)
#AF7CA7
oklch(65.1% 0.086 332.1)
-
Step 600
600
#935E8C
oklch(55.6% 0.094 331.6)
-
Step 700
700
#7D4D77
oklch(49% 0.088 331.4)
-
Step 800
800
#664060
oklch(42.7% 0.071 332.5)
-
Step 900
900
#53364F
oklch(37.6% 0.057 331.6)
-
Step 950
950
#31202E
oklch(27% 0.035 332.9)
#AF7CA7 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) | #7B88A9 | 0.082 |
| Deuteranopia (no green cones) | #878FA5 | 0.077 |
| Tritanopia (no blue cones) | #B47F8B | 0.046 |
| Achromatopsia (no color) | #8C8C8C | 0.087 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7CA7
#AF7CA7
oklch(65.1% 0.086 332.1)
- #669F76
#669F76
oklch(65.2% 0.086 152.4)
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 #AF7CA7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Heather #A484AC ΔE 0.025
- Dusty Lavender #AC86A8 ΔE 0.026
- Wisteria #A87DC2 ΔE 0.042
- Soft Purple #A66FB5 ΔE 0.048
- Dark Lilac #9C6DA5 ΔE 0.053
- Purpley Grey #947E94 ΔE 0.055
- Mauve #AE7181 ΔE 0.056
- English Lavender #9D8189 ΔE 0.060
Use #AF7CA7 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.