#8170BD
Closest named color: Deep Lilac (#966EBD). oklch(59.4% 0.116 292.7), rgb(129, 112, 189).
Aa
Black text reads best on this color (4.98:1).
About this color
#8170BD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.116 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.034 away. Black text reads best on it, at 4.98:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.116) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 4.98:1 |
| White text | 4.21:1 |
Values
| HEX | #8170BD |
| RGB | rgb(129, 112, 189) |
| HSL | hsl(253, 37%, 59%) |
| OKLCH | oklch(59.4% 0.116 292.7) |
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 #8170BD | 4.21:1 | AA large text | Lc -74.5 | Content text, not long reading |
| Black text on #8170BD | 4.98:1 | AA | Lc 35.1 | Non-text elements, placeholder text |
| #8170BD text on white | 4.21:1 | AA large text | Lc 69.0 | Content text, not long reading |
| #8170BD text on black | 4.98:1 | AA | Lc -32.7 | 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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#EAE8F4
oklch(93.6% 0.016 293.7)
-
Step 200
200
#D9D6ED
oklch(88.5% 0.031 291.7)
-
Step 300
300
#C1BAE3
oklch(80.8% 0.058 292.9)
-
Step 400
400
#A296D5
oklch(70.7% 0.092 292.6)
-
Step 500
500 (this color)
#8170BD
oklch(59.4% 0.116 292.7)
-
Step 600
600
#7763B6
oklch(55.6% 0.126 292.9)
-
Step 700
700
#64529D
oklch(49.2% 0.117 292.6)
-
Step 800
800
#51437F
oklch(42.6% 0.097 292.5)
-
Step 900
900
#433966
oklch(37.7% 0.076 292.6)
-
Step 950
950
#27223C
oklch(27.1% 0.048 291.7)
#8170BD 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) | #597CC0 | 0.059 |
| Deuteranopia (no green cones) | #5B7ABB | 0.057 |
| Tritanopia (no blue cones) | #737E8D | 0.096 |
| Achromatopsia (no color) | #7B7B7B | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8170BD
#8170BD
oklch(59.4% 0.116 292.7)
- #808526
#808526
oklch(59.4% 0.116 112.4)
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 #8170BD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.034
- Deep Lavender #8D5EB7 ΔE 0.046
- Medium Purple #9370DB ΔE 0.054
- Dark Lilac #9C6DA5 ΔE 0.056
- Dark Lavender #856798 ΔE 0.057
- Amethyst #9B5FC0 ΔE 0.057
- Faded Purple #916E99 ΔE 0.060
- Soft Purple #A66FB5 ΔE 0.062
Use #8170BD 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.