#9F87C8
Closest named color: Wisteria (#A87DC2). oklch(67% 0.098 300.8), rgb(159, 135, 200).
Aa
Black text reads best on this color (6.77:1).
About this color
#9F87C8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.098 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.027 away. Black text reads best on it, at 6.77:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.77:1 |
| White text | 3.10:1 |
Values
| HEX | #9F87C8 |
| RGB | rgb(159, 135, 200) |
| HSL | hsl(262, 37%, 66%) |
| OKLCH | oklch(67% 0.098 300.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 #9F87C8 | 3.10:1 | AA large text | Lc -63.3 | Content text, not long reading |
| Black text on #9F87C8 | 6.77:1 | AA | Lc 46.1 | Large or bold text, headings |
| #9F87C8 text on white | 3.10:1 | AA large text | Lc 57.9 | Large or bold text, headings |
| #9F87C8 text on black | 6.77:1 | AA | Lc -43.8 | 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 400.
-
Step 50
50
#F6F4FA
oklch(97% 0.008 301.4)
-
Step 100
100
#EBE7F4
oklch(93.5% 0.018 300.1)
-
Step 200
200
#DCD4ED
oklch(88.4% 0.035 300.3)
-
Step 300
300
#C7B8E3
oklch(80.9% 0.062 301)
-
Step 400
400 (this color)
#9F87C8
oklch(67% 0.098 300.8)
-
Step 500
500
#9676C9
oklch(63% 0.125 300.6)
-
Step 600
600
#815EB5
oklch(55.6% 0.134 300.7)
-
Step 700
700
#6D4D9C
oklch(49.1% 0.125 300.6)
-
Step 800
800
#593F7F
oklch(42.7% 0.105 300.8)
-
Step 900
900
#493666
oklch(37.7% 0.082 300.8)
-
Step 950
950
#2B203C
oklch(27.1% 0.052 301.1)
#9F87C8 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) | #7892CB | 0.058 |
| Deuteranopia (no green cones) | #7D92C6 | 0.054 |
| Tritanopia (no blue cones) | #98919F | 0.076 |
| Achromatopsia (no color) | #929292 | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F87C8
#9F87C8
oklch(67% 0.098 300.8)
- #8C9E58
#8C9E58
oklch(66.9% 0.097 120.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 #9F87C8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.027
- Heather #A484AC ΔE 0.041
- Pale Purple #B790D4 ΔE 0.048
- Perrywinkle #8F8CE7 ΔE 0.050
- Dusty Lavender #AC86A8 ΔE 0.051
- Soft Purple #A66FB5 ΔE 0.060
- Deep Lilac #966EBD ΔE 0.066
- Medium Purple #9370DB ΔE 0.075
Use #9F87C8 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.