#9166A2
Closest named color: Dark Lavender (#856798). oklch(57.7% 0.102 316.1), rgb(145, 102, 162).
Aa
Black text reads best on this color (4.62:1).
About this color
#9166A2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.102 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.026 away. Black text reads best on it, at 4.62:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.102) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.62:1 |
| White text | 4.53:1 |
Values
| HEX | #9166A2 |
| RGB | rgb(145, 102, 162) |
| HSL | hsl(283, 24%, 52%) |
| OKLCH | oklch(57.7% 0.102 316.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 #9166A2 | 4.53:1 | AA | Lc -76.9 | Fine for body text |
| Black text on #9166A2 | 4.62:1 | AA | Lc 32.7 | Non-text elements, placeholder text |
| #9166A2 text on white | 4.53:1 | AA | Lc 71.4 | Content text, not long reading |
| #9166A2 text on black | 4.62:1 | AA | Lc -30.3 | 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
#F7F4F8
oklch(97.1% 0.006 317.8)
-
Step 100
100
#EDE7F0
oklch(93.5% 0.014 314.8)
-
Step 200
200
#E0D4E5
oklch(88.5% 0.026 316.1)
-
Step 300
300
#CCB8D5
oklch(80.8% 0.046 315.4)
-
Step 400
400
#B393C0
oklch(70.8% 0.073 316.1)
-
Step 500
500
#A078B0
oklch(63.2% 0.093 316.1)
-
Step 600
600 (this color)
#9166A2
oklch(57.7% 0.102 316.1)
-
Step 700
700
#764F85
oklch(49.2% 0.095 316.2)
-
Step 800
800
#60416C
oklch(42.8% 0.079 316.2)
-
Step 900
900
#4E3757
oklch(37.6% 0.061 316.2)
-
Step 950
950
#2E2033
oklch(26.9% 0.04 317)
#9166A2 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) | #5D73A4 | 0.083 |
| Deuteranopia (no green cones) | #6777A0 | 0.076 |
| Tritanopia (no blue cones) | #906E7C | 0.069 |
| Achromatopsia (no color) | #767676 | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9166A2
#9166A2
oklch(57.7% 0.102 316.1)
- #5D8749
#5D8749
oklch(57.7% 0.101 136.3)
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 #9166A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.026
- Dark Lilac #9C6DA5 ΔE 0.027
- Faded Purple #916E99 ΔE 0.029
- Deep Lavender #8D5EB7 ΔE 0.043
- Deep Lilac #966EBD ΔE 0.043
- Grey Purple #826D8C ΔE 0.050
- Soft Purple #A66FB5 ΔE 0.051
- Dusty Purple #825F87 ΔE 0.051
Use #9166A2 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.