#AF87D2
Closest named color: Pale Purple (#B790D4). oklch(68.9% 0.115 308.1), rgb(175, 135, 210).
Aa
Black text reads best on this color (7.21:1).
About this color
#AF87D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.115 and its hue 308°. 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.21:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | moderately saturated (0.115) |
| Temperature | in between |
| Nearest name | Pale Purple (#B790D4) |
| Black text | 7.21:1 |
| White text | 2.90:1 |
Values
| HEX | #AF87D2 |
| RGB | rgb(175, 135, 210) |
| HSL | hsl(272, 45%, 68%) |
| OKLCH | oklch(68.9% 0.115 308.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 #AF87D2 | 2.90:1 | Fails | Lc -60.7 | Content text, not long reading |
| Black text on #AF87D2 | 7.21:1 | AAA | Lc 48.7 | Large or bold text, headings |
| #AF87D2 text on white | 2.90:1 | Fails | Lc 55.4 | Large or bold text, headings |
| #AF87D2 text on black | 7.21:1 | AAA | Lc -46.4 | 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
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EEE6F5
oklch(93.6% 0.022 309.6)
-
Step 200
200
#E0D3EE
oklch(88.6% 0.039 307.2)
-
Step 300
300
#CEB5E5
oklch(81% 0.072 308.4)
-
Step 400
400 (this color)
#AF87D2
oklch(68.9% 0.115 308.1)
-
Step 500
500
#A26ECD
oklch(63.1% 0.147 308)
-
Step 600
600
#8D54BA
oklch(55.6% 0.16 307.8)
-
Step 700
700
#7844A0
oklch(49.1% 0.148 308)
-
Step 800
800
#623882
oklch(42.7% 0.124 308.2)
-
Step 900
900
#503168
oklch(37.7% 0.096 308.5)
-
Step 950
950
#2F1D3D
oklch(27% 0.062 308.8)
#AF87D2 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) | #7896D5 | 0.082 |
| Deuteranopia (no green cones) | #8198D0 | 0.076 |
| Tritanopia (no blue cones) | #AA92A3 | 0.085 |
| Achromatopsia (no color) | #979797 | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF87D2
#AF87D2
oklch(68.9% 0.115 308.1)
- #86A958
#86A958
oklch(69% 0.116 128.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 #AF87D2, 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.033
- Perrywinkle #8F8CE7 ΔE 0.055
- Heather #A484AC ΔE 0.059
- Dusty Lavender #AC86A8 ΔE 0.063
- Soft Purple #A66FB5 ΔE 0.068
- Liliac #C48EFD ΔE 0.072
- Light Purple #BF77F6 ΔE 0.075
Use #AF87D2 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.