#AF87CF
Closest named color: Pale Purple (#B790D4). oklch(68.8% 0.112 309.1), rgb(175, 135, 207).
Aa
Black text reads best on this color (7.18:1).
About this color
#AF87CF is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.112 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.027 away. Black text reads best on it, at 7.18:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Pale Purple (#B790D4) |
| Black text | 7.18:1 |
| White text | 2.92:1 |
Values
| HEX | #AF87CF |
| RGB | rgb(175, 135, 207) |
| HSL | hsl(273, 43%, 67%) |
| OKLCH | oklch(68.8% 0.112 309.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 #AF87CF | 2.92:1 | Fails | Lc -60.8 | Content text, not long reading |
| Black text on #AF87CF | 7.18:1 | AAA | Lc 48.5 | Large or bold text, headings |
| #AF87CF text on white | 2.92:1 | Fails | Lc 55.5 | Large or bold text, headings |
| #AF87CF text on black | 7.18:1 | AAA | Lc -46.3 | 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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EEE6F4
oklch(93.5% 0.021 311.1)
-
Step 200
200
#E1D3ED
oklch(88.6% 0.038 309.6)
-
Step 300
300
#CEB5E3
oklch(80.9% 0.069 309.4)
-
Step 400
400 (this color)
#AF87CF
oklch(68.8% 0.112 309.1)
-
Step 500
500
#A36FCA
oklch(63.2% 0.142 309.2)
-
Step 600
600
#8E55B7
oklch(55.7% 0.155 309.1)
-
Step 700
700
#79459D
oklch(49.2% 0.143 309.4)
-
Step 800
800
#623980
oklch(42.7% 0.12 308.9)
-
Step 900
900
#503266
oklch(37.7% 0.092 309.3)
-
Step 950
950
#2F1E3C
oklch(27.1% 0.058 309.1)
#AF87CF 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) | #7995D2 | 0.081 |
| Deuteranopia (no green cones) | #8298CD | 0.075 |
| Tritanopia (no blue cones) | #AB91A2 | 0.080 |
| Achromatopsia (no color) | #979797 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF87CF
#AF87CF
oklch(68.8% 0.112 309.1)
- #85A85B
#85A85B
oklch(68.7% 0.111 129)
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 #AF87CF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Purple #B790D4 ΔE 0.027
- Wisteria #A87DC2 ΔE 0.031
- Heather #A484AC ΔE 0.055
- Perrywinkle #8F8CE7 ΔE 0.058
- Dusty Lavender #AC86A8 ΔE 0.059
- Soft Purple #A66FB5 ΔE 0.066
- Liliac #C48EFD ΔE 0.076
- Lavender Pink #DD85D7 ΔE 0.077
Use #AF87CF 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.