#9873A5
Closest named color: Dark Lilac (#9C6DA5). oklch(61% 0.085 317.1), rgb(152, 115, 165).
Aa
Black text reads best on this color (5.33:1).
About this color
#9873A5 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.085 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.016 away. Black text reads best on it, at 5.33:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.085) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 5.33:1 |
| White text | 3.93:1 |
Values
| HEX | #9873A5 |
| RGB | rgb(152, 115, 165) |
| HSL | hsl(284, 22%, 55%) |
| OKLCH | oklch(61% 0.085 317.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 #9873A5 | 3.93:1 | AA large text | Lc -72.2 | Content text, not long reading |
| Black text on #9873A5 | 5.33:1 | AA | Lc 37.4 | Non-text elements, placeholder text |
| #9873A5 text on white | 3.93:1 | AA large text | Lc 66.7 | Content text, not long reading |
| #9873A5 text on black | 5.33:1 | AA | Lc -34.9 | 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
#F7F4F8
oklch(97.1% 0.006 317.8)
-
Step 100
100
#EDE7EF
oklch(93.5% 0.012 317.7)
-
Step 200
200
#DFD5E3
oklch(88.5% 0.022 316.5)
-
Step 300
300
#CCB9D3
oklch(81% 0.042 317)
-
Step 400
400
#B294BC
oklch(70.7% 0.066 317.6)
-
Step 500
500 (this color)
#9873A5
oklch(61% 0.085 317.1)
-
Step 600
600
#896297
oklch(55.6% 0.092 316.9)
-
Step 700
700
#745181
oklch(49.1% 0.085 316.6)
-
Step 800
800
#5F4269
oklch(42.7% 0.072 317.2)
-
Step 900
900
#4E3855
oklch(37.7% 0.056 317.8)
-
Step 950
950
#2D2132
oklch(27% 0.035 315.8)
#9873A5 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) | #6C7EA7 | 0.069 |
| Deuteranopia (no green cones) | #7581A3 | 0.063 |
| Tritanopia (no blue cones) | #987985 | 0.057 |
| Achromatopsia (no color) | #808080 | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9873A5
#9873A5
oklch(61% 0.085 317.1)
- #6B8F5C
#6B8F5C
oklch(61% 0.084 136.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 #9873A5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.016
- Faded Purple #916E99 ΔE 0.024
- Soft Purple #A66FB5 ΔE 0.037
- Deep Lilac #966EBD ΔE 0.043
- Purpley Grey #947E94 ΔE 0.046
- Dark Lavender #856798 ΔE 0.049
- Heather #A484AC ΔE 0.050
- Wisteria #A87DC2 ΔE 0.054
Use #9873A5 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.