#8170AA
Closest named color: Dark Lavender (#856798). oklch(58.4% 0.089 297), rgb(129, 112, 170).
Aa
Black text reads best on this color (4.83:1).
About this color
#8170AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.089 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.032 away. Black text reads best on it, at 4.83:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.089) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.83:1 |
| White text | 4.34:1 |
Values
| HEX | #8170AA |
| RGB | rgb(129, 112, 170) |
| HSL | hsl(258, 25%, 55%) |
| OKLCH | oklch(58.4% 0.089 297) |
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 #8170AA | 4.34:1 | AA large text | Lc -75.5 | Fine for body text |
| Black text on #8170AA | 4.83:1 | AA | Lc 34.0 | Non-text elements, placeholder text |
| #8170AA text on white | 4.34:1 | AA large text | Lc 70.1 | Content text, not long reading |
| #8170AA text on black | 4.83:1 | AA | Lc -31.6 | 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
#F6F5F9
oklch(97.2% 0.005 297.7)
-
Step 100
100
#EAE8F1
oklch(93.5% 0.012 296.3)
-
Step 200
200
#DAD6E6
oklch(88.4% 0.022 297.4)
-
Step 300
300
#C3BCD8
oklch(81% 0.04 296.9)
-
Step 400
400
#A499C4
oklch(70.7% 0.063 296.5)
-
Step 500
500
#8E7FB5
oklch(63% 0.081 296.8)
-
Step 600
600 (this color)
#8170AA
oklch(58.4% 0.089 297)
-
Step 700
700
#66568A
oklch(49.1% 0.083 297.4)
-
Step 800
800
#534770
oklch(42.8% 0.068 296.9)
-
Step 900
900
#443B5B
oklch(37.6% 0.055 296.6)
-
Step 950
950
#282335
oklch(27% 0.034 296.8)
#8170AA 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) | #6279AC | 0.048 |
| Deuteranopia (no green cones) | #6479A8 | 0.047 |
| Tritanopia (no blue cones) | #797A85 | 0.073 |
| Achromatopsia (no color) | #797979 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8170AA
#8170AA
oklch(58.4% 0.089 297)
- #788242
#788242
oklch(58.3% 0.089 116.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 #8170AA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.032
- Faded Purple #916E99 ΔE 0.035
- Dark Lilac #9C6DA5 ΔE 0.044
- Grey Purple #826D8C ΔE 0.046
- Deep Lilac #966EBD ΔE 0.046
- Lavender Gray #7E7F9A ΔE 0.055
- Deep Lavender #8D5EB7 ΔE 0.056
- Purple Grey #866F85 ΔE 0.058
Use #8170AA 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.