#9172AE
Closest named color: Dark Lilac (#9C6DA5). oklch(60.5% 0.095 307.4), rgb(145, 114, 174).
Aa
Black text reads best on this color (5.22:1).
About this color
#9172AE is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.095 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.023 away. Black text reads best on it, at 5.22:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.095) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 5.22:1 |
| White text | 4.02:1 |
Values
| HEX | #9172AE |
| RGB | rgb(145, 114, 174) |
| HSL | hsl(271, 27%, 56%) |
| OKLCH | oklch(60.5% 0.095 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 #9172AE | 4.02:1 | AA large text | Lc -72.9 | Content text, not long reading |
| Black text on #9172AE | 5.22:1 | AA | Lc 36.7 | Non-text elements, placeholder text |
| #9172AE text on white | 4.02:1 | AA large text | Lc 67.4 | Content text, not long reading |
| #9172AE text on black | 5.22:1 | AA | Lc -34.2 | 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
#F6F4F9
oklch(97% 0.007 304.2)
-
Step 100
100
#ECE8F1
oklch(93.7% 0.013 306)
-
Step 200
200
#DED5E7
oklch(88.6% 0.026 308.1)
-
Step 300
300
#C9B9D9
oklch(80.9% 0.048 307.8)
-
Step 400
400
#AD95C5
oklch(70.8% 0.074 307.3)
-
Step 500
500 (this color)
#9172AE
oklch(60.5% 0.095 307.4)
-
Step 600
600
#8462A2
oklch(55.6% 0.103 307.8)
-
Step 700
700
#6F518B
oklch(49.1% 0.096 307)
-
Step 800
800
#5B4271
oklch(42.7% 0.081 307.8)
-
Step 900
900
#4A385B
oklch(37.6% 0.062 307.2)
-
Step 950
950
#2C2135
oklch(27% 0.039 309.1)
#9172AE 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) | #667DB0 | 0.066 |
| Deuteranopia (no green cones) | #6D7FAC | 0.061 |
| Tritanopia (no blue cones) | #8D7B88 | 0.071 |
| Achromatopsia (no color) | #7F7F7F | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9172AE
#9172AE
oklch(60.5% 0.095 307.4)
- #728C4C
#728C4C
oklch(60.4% 0.094 127.1)
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 #9172AE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.023
- Deep Lilac #966EBD ΔE 0.029
- Faded Purple #916E99 ΔE 0.032
- Soft Purple #A66FB5 ΔE 0.037
- Dark Lavender #856798 ΔE 0.046
- Wisteria #A87DC2 ΔE 0.055
- Deep Lavender #8D5EB7 ΔE 0.057
- Grey Purple #826D8C ΔE 0.058
Use #9172AE 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.