#9865AB
Closest named color: Dark Lilac (#9C6DA5). oklch(58.8% 0.118 316.5), rgb(152, 101, 171).
Aa
Black text reads best on this color (4.78:1).
About this color
#9865AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.118 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.026 away. Black text reads best on it, at 4.78:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.118) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 4.78:1 |
| White text | 4.38:1 |
Values
| HEX | #9865AB |
| RGB | rgb(152, 101, 171) |
| HSL | hsl(284, 29%, 53%) |
| OKLCH | oklch(58.8% 0.118 316.5) |
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 #9865AB | 4.38:1 | AA large text | Lc -75.7 | Fine for body text |
| Black text on #9865AB | 4.78:1 | AA | Lc 33.8 | Non-text elements, placeholder text |
| #9865AB text on white | 4.38:1 | AA large text | Lc 70.3 | Content text, not long reading |
| #9865AB text on black | 4.78:1 | AA | Lc -31.4 | 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 600.
-
Step 50
50
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EEE7F1
oklch(93.6% 0.015 316)
-
Step 200
200
#E1D4E6
oklch(88.6% 0.028 316.7)
-
Step 300
300
#CFB7D8
oklch(81% 0.053 316.8)
-
Step 400
400
#B690C4
oklch(70.6% 0.085 316.8)
-
Step 500
500
#A374B5
oklch(63% 0.108 316.3)
-
Step 600
600 (this color)
#9865AB
oklch(58.8% 0.118 316.5)
-
Step 700
700
#794B8A
oklch(49.1% 0.11 316.4)
-
Step 800
800
#623E70
oklch(42.7% 0.091 316)
-
Step 900
900
#50355B
oklch(37.7% 0.071 315.7)
-
Step 950
950
#2F1F35
oklch(26.9% 0.045 316.5)
#9865AB 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) | #5A75AE | 0.098 |
| Deuteranopia (no green cones) | #677AA9 | 0.089 |
| Tritanopia (no blue cones) | #976E80 | 0.078 |
| Achromatopsia (no color) | #787878 | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9865AB
#9865AB
oklch(58.8% 0.118 316.5)
- #5A8C42
#5A8C42
oklch(58.7% 0.118 136.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 #9865AB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.026
- Deep Lilac #966EBD ΔE 0.031
- Deep Lavender #8D5EB7 ΔE 0.035
- Soft Purple #A66FB5 ΔE 0.038
- Amethyst #9B5FC0 ΔE 0.038
- Faded Purple #916E99 ΔE 0.042
- Dark Lavender #856798 ΔE 0.045
- Light Plum #9D5783 ΔE 0.063
Use #9865AB 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.