#987FAF
Closest named color: Heather (#A484AC). oklch(63.7% 0.076 308.1), rgb(152, 127, 175).
Aa
Black text reads best on this color (5.98:1).
About this color
#987FAF is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.076 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.026 away. Black text reads best on it, at 5.98:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.076) |
| Temperature | in between |
| Nearest name | Heather (#A484AC) |
| Black text | 5.98:1 |
| White text | 3.50:1 |
Values
| HEX | #987FAF |
| RGB | rgb(152, 127, 175) |
| HSL | hsl(271, 23%, 59%) |
| OKLCH | oklch(63.7% 0.076 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 #987FAF | 3.50:1 | AA large text | Lc -68.1 | Content text, not long reading |
| Black text on #987FAF | 5.98:1 | AA | Lc 41.5 | Non-text elements, placeholder text |
| #987FAF text on white | 3.50:1 | AA large text | Lc 62.6 | Content text, not long reading |
| #987FAF text on black | 5.98:1 | AA | Lc -39.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
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#ECE8EF
oklch(93.6% 0.01 311.2)
-
Step 200
200
#DDD6E4
oklch(88.6% 0.02 308.2)
-
Step 300
300
#C7BBD4
oklch(81% 0.037 307.1)
-
Step 400
400
#AB97BE
oklch(70.7% 0.06 308.1)
-
Step 500
500 (this color)
#987FAF
oklch(63.7% 0.076 308.1)
-
Step 600
600
#816699
oklch(55.6% 0.083 308.1)
-
Step 700
700
#6D5582
oklch(49.2% 0.075 308.2)
-
Step 800
800
#59456A
oklch(42.7% 0.064 308.6)
-
Step 900
900
#493A56
oklch(37.6% 0.05 308.5)
-
Step 950
950
#2B2232
oklch(26.9% 0.032 309.9)
#987FAF 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) | #7788B1 | 0.051 |
| Deuteranopia (no green cones) | #7C89AE | 0.047 |
| Tritanopia (no blue cones) | #958590 | 0.055 |
| Achromatopsia (no color) | #898989 | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987FAF
#987FAF
oklch(63.7% 0.076 308.1)
- #7E9462
#7E9462
oklch(63.6% 0.075 127.7)
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 #987FAF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Heather #A484AC ΔE 0.026
- Wisteria #A87DC2 ΔE 0.040
- Dusty Lavender #AC86A8 ΔE 0.041
- Purpley Grey #947E94 ΔE 0.042
- Dark Lilac #9C6DA5 ΔE 0.045
- Soft Purple #A66FB5 ΔE 0.048
- Faded Purple #916E99 ΔE 0.051
- Lavender Gray #7E7F9A ΔE 0.053
Use #987FAF 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.