#8A87D2
Closest named color: Perrywinkle (#8F8CE7). oklch(65.7% 0.11 284.8), rgb(138, 135, 210).
Aa
Black text reads best on this color (6.47:1).
About this color
#8A87D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.110 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.033 away. Black text reads best on it, at 6.47:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.110) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 6.47:1 |
| White text | 3.24:1 |
Values
| HEX | #8A87D2 |
| RGB | rgb(138, 135, 210) |
| HSL | hsl(242, 45%, 68%) |
| OKLCH | oklch(65.7% 0.11 284.8) |
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 #8A87D2 | 3.24:1 | AA large text | Lc -65.1 | Content text, not long reading |
| Black text on #8A87D2 | 6.47:1 | AA | Lc 44.4 | Non-text elements, placeholder text |
| #8A87D2 text on white | 3.24:1 | AA large text | Lc 59.6 | Large or bold text, headings |
| #8A87D2 text on black | 6.47:1 | AA | Lc -42.1 | 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 500.
-
Step 50
50
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E8E9F4
oklch(93.6% 0.015 281.9)
-
Step 200
200
#D6D7ED
oklch(88.5% 0.03 283.7)
-
Step 300
300
#BCBCE3
oklch(80.8% 0.055 285.1)
-
Step 400
400
#9A99D5
oklch(70.6% 0.087 284.7)
-
Step 500
500 (this color)
#8A87D2
oklch(65.7% 0.11 284.8)
-
Step 600
600
#6D67B6
oklch(55.5% 0.12 285.2)
-
Step 700
700
#5B569D
oklch(49.2% 0.111 284.7)
-
Step 800
800
#4A467F
oklch(42.6% 0.093 284.9)
-
Step 900
900
#3E3B66
oklch(37.6% 0.072 285.5)
-
Step 950
950
#24233C
oklch(27% 0.046 284.7)
#8A87D2 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) | #7091D5 | 0.040 |
| Deuteranopia (no green cones) | #6E8DD0 | 0.039 |
| Tritanopia (no blue cones) | #7795A3 | 0.095 |
| Achromatopsia (no color) | #8F8F8F | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A87D2
#8A87D2
oklch(65.7% 0.11 284.8)
- #9C953C
#9C953C
oklch(65.8% 0.111 104.8)
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 #8A87D2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.033
- Wisteria #A87DC2 ΔE 0.052
- Lavender Blue #8B88F8 ΔE 0.057
- Soft Blue #6488EA ΔE 0.059
- Cornflower Blue #6495ED ΔE 0.062
- Medium Purple #9370DB ΔE 0.062
- Faded Blue #658CBB ΔE 0.064
- Deep Lilac #966EBD ΔE 0.065
Use #8A87D2 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.