#AA87EA
Closest named color: Perrywinkle (#8F8CE7). oklch(69.6% 0.145 298.9), rgb(170, 135, 234).
Aa
Black text reads best on this color (7.36:1).
About this color
#AA87EA is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.145 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.041 away. Black text reads best on it, at 7.36:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.36:1 |
| White text | 2.85:1 |
Values
| HEX | #AA87EA |
| RGB | rgb(170, 135, 234) |
| HSL | hsl(261, 70%, 72%) |
| OKLCH | oklch(69.6% 0.145 298.9) |
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 #AA87EA | 2.85:1 | Fails | Lc -59.8 | Large or bold text, headings |
| Black text on #AA87EA | 7.36:1 | AAA | Lc 49.5 | Large or bold text, headings |
| #AA87EA text on white | 2.85:1 | Fails | Lc 54.5 | Large or bold text, headings |
| #AA87EA text on black | 7.36:1 | AAA | Lc -47.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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#ECE6F9
oklch(93.5% 0.026 300.3)
-
Step 200
200
#DDD2F7
oklch(88.4% 0.052 298.9)
-
Step 300
300
#C8B4F4
oklch(80.9% 0.091 298.7)
-
Step 400
400 (this color)
#AA87EA
oklch(69.6% 0.145 298.9)
-
Step 500
500
#9A69E8
oklch(63% 0.186 298.8)
-
Step 600
600
#864DD6
oklch(55.6% 0.201 298.8)
-
Step 700
700
#723CB9
oklch(49% 0.187 299.2)
-
Step 800
800
#5C3396
oklch(42.6% 0.155 298.6)
-
Step 900
900
#4B2E77
oklch(37.6% 0.12 298.8)
-
Step 950
950
#2C1C46
oklch(27% 0.076 298.8)
#AA87EA 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) | #6B99EE | 0.090 |
| Deuteranopia (no green cones) | #7298E7 | 0.084 |
| Tritanopia (no blue cones) | #9D98AD | 0.114 |
| Achromatopsia (no color) | #999999 | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AA87EA
#AA87EA
oklch(69.6% 0.145 298.9)
- #94A92F
#94A92F
oklch(69.6% 0.145 118.9)
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 #AA87EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.041
- Pale Purple #B790D4 ΔE 0.050
- Lavender Blue #8B88F8 ΔE 0.050
- Liliac #C48EFD ΔE 0.052
- Light Purple #BF77F6 ΔE 0.053
- Periwinkle #8E82FE ΔE 0.055
- Periwinkle Blue #8F99FB ΔE 0.057
- Wisteria #A87DC2 ΔE 0.060
Use #AA87EA 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.