#AF87B7
Closest named color: Dusty Lavender (#AC86A8). oklch(67.8% 0.083 320.7), rgb(175, 135, 183).
Aa
Black text reads best on this color (6.97:1).
About this color
#AF87B7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.083 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.023 away. Black text reads best on it, at 6.97:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.083) |
| Temperature | in between |
| Nearest name | Dusty Lavender (#AC86A8) |
| Black text | 6.97:1 |
| White text | 3.01:1 |
Values
| HEX | #AF87B7 |
| RGB | rgb(175, 135, 183) |
| HSL | hsl(290, 25%, 62%) |
| OKLCH | oklch(67.8% 0.083 320.7) |
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 #AF87B7 | 3.01:1 | AA large text | Lc -62.1 | Content text, not long reading |
| Black text on #AF87B7 | 6.97:1 | AA | Lc 47.3 | Large or bold text, headings |
| #AF87B7 text on white | 3.01:1 | AA large text | Lc 56.8 | Large or bold text, headings |
| #AF87B7 text on black | 6.97:1 | AA | Lc -45.0 | 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 400.
-
Step 50
50
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#EFE7F0
oklch(93.7% 0.015 322.3)
-
Step 200
200
#E2D3E5
oklch(88.4% 0.029 320.6)
-
Step 300
300
#D0B6D5
oklch(80.8% 0.051 320.8)
-
Step 400
400 (this color)
#AF87B7
oklch(67.8% 0.083 320.7)
-
Step 500
500
#A674B0
oklch(63.1% 0.104 320.7)
-
Step 600
600
#915B9C
oklch(55.5% 0.115 320.7)
-
Step 700
700
#7C4B85
oklch(49.2% 0.106 321.2)
-
Step 800
800
#643E6C
oklch(42.7% 0.087 320.5)
-
Step 900
900
#523558
oklch(37.7% 0.069 320.6)
-
Step 950
950
#301F33
oklch(26.9% 0.043 321.4)
#AF87B7 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) | #8292B9 | 0.069 |
| Deuteranopia (no green cones) | #8B96B5 | 0.064 |
| Tritanopia (no blue cones) | #B08C98 | 0.052 |
| Achromatopsia (no color) | #959595 | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF87B7
#AF87B7
oklch(67.8% 0.083 320.7)
- #7CA574
#7CA574
oklch(67.9% 0.083 140.5)
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 #AF87B7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusty Lavender #AC86A8 ΔE 0.023
- Heather #A484AC ΔE 0.025
- Wisteria #A87DC2 ΔE 0.037
- Pale Purple #B790D4 ΔE 0.046
- Light Mauve #C292A1 ΔE 0.060
- Grey Pink #C3909B ΔE 0.064
- Soft Purple #A66FB5 ΔE 0.064
- Purpley Grey #947E94 ΔE 0.070
Use #AF87B7 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.