#AF87C2
Closest named color: Wisteria (#A87DC2). oklch(68.2% 0.095 314.6), rgb(175, 135, 194).
Aa
Black text reads best on this color (7.06:1).
About this color
#AF87C2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.095 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.029 away. Black text reads best on it, at 7.06:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.095) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 7.06:1 |
| White text | 2.97:1 |
Values
| HEX | #AF87C2 |
| RGB | rgb(175, 135, 194) |
| HSL | hsl(281, 33%, 65%) |
| OKLCH | oklch(68.2% 0.095 314.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 #AF87C2 | 2.97:1 | Fails | Lc -61.6 | Content text, not long reading |
| Black text on #AF87C2 | 7.06:1 | AAA | Lc 47.8 | Large or bold text, headings |
| #AF87C2 text on white | 2.97:1 | Fails | Lc 56.2 | Large or bold text, headings |
| #AF87C2 text on black | 7.06:1 | AAA | Lc -45.6 | 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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EEE7F2
oklch(93.7% 0.016 313.6)
-
Step 200
200
#E1D3E9
oklch(88.5% 0.033 313.5)
-
Step 300
300
#CFB6DC
oklch(81% 0.059 314.1)
-
Step 400
400 (this color)
#AF87C2
oklch(68.2% 0.095 314.6)
-
Step 500
500
#A572BC
oklch(63.2% 0.121 314.8)
-
Step 600
600
#9059A8
oklch(55.7% 0.132 314.9)
-
Step 700
700
#7A4890
oklch(49% 0.123 314.7)
-
Step 800
800
#633C75
oklch(42.7% 0.101 314.3)
-
Step 900
900
#51345F
oklch(37.8% 0.079 314.1)
-
Step 950
950
#301E37
oklch(26.9% 0.051 316.1)
#AF87C2 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) | #7E93C4 | 0.074 |
| Deuteranopia (no green cones) | #8797C0 | 0.069 |
| Tritanopia (no blue cones) | #AE8E9C | 0.065 |
| Achromatopsia (no color) | #969696 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF87C2
#AF87C2
oklch(68.2% 0.095 314.6)
- #80A669
#80A669
oklch(68.2% 0.095 134.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 #AF87C2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.029
- Pale Purple #B790D4 ΔE 0.034
- Heather #A484AC ΔE 0.038
- Dusty Lavender #AC86A8 ΔE 0.039
- Soft Purple #A66FB5 ΔE 0.063
- Perrywinkle #8F8CE7 ΔE 0.070
- Light Mauve #C292A1 ΔE 0.072
- Grey Pink #C3909B ΔE 0.077
Use #AF87C2 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.