#9873BA
Closest named color: Deep Lilac (#966EBD). oklch(61.9% 0.111 307.4), rgb(152, 115, 186).
Aa
Black text reads best on this color (5.49:1).
About this color
#9873BA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.111 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.015 away. Black text reads best on it, at 5.49:1.
| Hue family | Purples |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.111) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.49:1 |
| White text | 3.82:1 |
Values
| HEX | #9873BA |
| RGB | rgb(152, 115, 186) |
| HSL | hsl(271, 34%, 59%) |
| OKLCH | oklch(61.9% 0.111 307.4) |
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 #9873BA | 3.82:1 | AA large text | Lc -71.1 | Content text, not long reading |
| Black text on #9873BA | 5.49:1 | AA | Lc 38.5 | Non-text elements, placeholder text |
| #9873BA text on white | 3.82:1 | AA large text | Lc 65.6 | Content text, not long reading |
| #9873BA text on black | 5.49:1 | AA | Lc -36.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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EDE7F2
oklch(93.6% 0.016 310.1)
-
Step 200
200
#DED4E9
oklch(88.4% 0.03 307.1)
-
Step 300
300
#CAB8DD
oklch(81% 0.055 307.1)
-
Step 400
400
#AF92CB
oklch(70.6% 0.087 307.5)
-
Step 500
500 (this color)
#9873BA
oklch(61.9% 0.111 307.4)
-
Step 600
600
#865EAA
oklch(55.5% 0.121 307.1)
-
Step 700
700
#724D92
oklch(49.1% 0.113 307.5)
-
Step 800
800
#5D4076
oklch(42.8% 0.092 307.7)
-
Step 900
900
#4C365F
oklch(37.6% 0.073 307.9)
-
Step 950
950
#2C2038
oklch(26.9% 0.046 306.5)
#9873BA 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) | #6481BD | 0.079 |
| Deuteranopia (no green cones) | #6C83B8 | 0.074 |
| Tritanopia (no blue cones) | #937E8E | 0.082 |
| Achromatopsia (no color) | #828282 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9873BA
#9873BA
oklch(61.9% 0.111 307.4)
- #739245
#739245
oklch(61.9% 0.111 127.5)
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 #9873BA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.015
- Soft Purple #A66FB5 ΔE 0.025
- Dark Lilac #9C6DA5 ΔE 0.032
- Wisteria #A87DC2 ΔE 0.039
- Amethyst #9B5FC0 ΔE 0.051
- Faded Purple #916E99 ΔE 0.051
- Medium Purple #9370DB ΔE 0.053
- Deep Lavender #8D5EB7 ΔE 0.057
Use #9873BA 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.