#8A6DB1
Closest named color: Deep Lilac (#966EBD). oklch(59% 0.106 302.9), rgb(138, 109, 177).
Aa
Black text reads best on this color (4.90:1).
About this color
#8A6DB1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.106 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.027 away. Black text reads best on it, at 4.90:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.106) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 4.90:1 |
| White text | 4.28:1 |
Values
| HEX | #8A6DB1 |
| RGB | rgb(138, 109, 177) |
| HSL | hsl(266, 30%, 56%) |
| OKLCH | oklch(59% 0.106 302.9) |
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 #8A6DB1 | 4.28:1 | AA large text | Lc -75.0 | Fine for body text |
| Black text on #8A6DB1 | 4.90:1 | AA | Lc 34.6 | Non-text elements, placeholder text |
| #8A6DB1 text on white | 4.28:1 | AA large text | Lc 69.5 | Content text, not long reading |
| #8A6DB1 text on black | 4.90:1 | AA | Lc -32.1 | 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
#F6F4F9
oklch(97% 0.007 304.2)
-
Step 100
100
#EBE8F2
oklch(93.6% 0.014 299.8)
-
Step 200
200
#DCD5E8
oklch(88.4% 0.027 302.5)
-
Step 300
300
#C6BADB
oklch(80.9% 0.048 301.9)
-
Step 400
400
#AA95C8
oklch(70.6% 0.077 303.3)
-
Step 500
500
#957BBA
oklch(63.1% 0.097 302.7)
-
Step 600
600 (this color)
#8A6DB1
oklch(59% 0.106 302.9)
-
Step 700
700
#6C528E
oklch(49.1% 0.097 303)
-
Step 800
800
#584374
oklch(42.7% 0.082 302.8)
-
Step 900
900
#48395D
oklch(37.7% 0.063 302.7)
-
Step 950
950
#2A2237
oklch(27.1% 0.04 301.3)
#8A6DB1 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) | #5D7AB4 | 0.069 |
| Deuteranopia (no green cones) | #637AAF | 0.064 |
| Tritanopia (no blue cones) | #837887 | 0.081 |
| Achromatopsia (no color) | #7A7A7A | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A6DB1
#8A6DB1
oklch(59% 0.106 302.9)
- #72873B
#72873B
oklch(59% 0.105 122.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 #8A6DB1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.027
- Dark Lilac #9C6DA5 ΔE 0.035
- Dark Lavender #856798 ΔE 0.040
- Faded Purple #916E99 ΔE 0.040
- Deep Lavender #8D5EB7 ΔE 0.041
- Soft Purple #A66FB5 ΔE 0.048
- Amethyst #9B5FC0 ΔE 0.051
- Grey Purple #826D8C ΔE 0.060
Use #8A6DB1 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.