#8A6DB2
Closest named color: Deep Lilac (#966EBD). oklch(59.1% 0.107 302.6), rgb(138, 109, 178).
Aa
Black text reads best on this color (4.91:1).
About this color
#8A6DB2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.107 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.026 away. Black text reads best on it, at 4.91:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.107) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 4.91:1 |
| White text | 4.27:1 |
Values
| HEX | #8A6DB2 |
| RGB | rgb(138, 109, 178) |
| HSL | hsl(265, 31%, 56%) |
| OKLCH | oklch(59.1% 0.107 302.6) |
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 #8A6DB2 | 4.27:1 | AA large text | Lc -75.0 | Content text, not long reading |
| Black text on #8A6DB2 | 4.91:1 | AA | Lc 34.6 | Non-text elements, placeholder text |
| #8A6DB2 text on white | 4.27:1 | AA large text | Lc 69.5 | Content text, not long reading |
| #8A6DB2 text on black | 4.91:1 | AA | Lc -32.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 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
#AA95C9
oklch(70.7% 0.078 302.9)
-
Step 500
500
#957BBB
oklch(63.2% 0.098 302.4)
-
Step 600
600 (this color)
#8A6DB2
oklch(59.1% 0.107 302.6)
-
Step 700
700
#6C528F
oklch(49.2% 0.099 302.6)
-
Step 800
800
#584374
oklch(42.7% 0.082 302.8)
-
Step 900
900
#48395E
oklch(37.7% 0.064 302.1)
-
Step 950
950
#2A2137
oklch(26.9% 0.042 302.5)
#8A6DB2 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) | #5D7AB5 | 0.069 |
| Deuteranopia (no green cones) | #637AB0 | 0.064 |
| Tritanopia (no blue cones) | #837887 | 0.082 |
| Achromatopsia (no color) | #7A7A7A | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A6DB2
#8A6DB2
oklch(59.1% 0.107 302.6)
- #72883A
#72883A
oklch(59.2% 0.108 122.9)
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 #8A6DB2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.026
- Dark Lilac #9C6DA5 ΔE 0.036
- Deep Lavender #8D5EB7 ΔE 0.040
- Dark Lavender #856798 ΔE 0.041
- Faded Purple #916E99 ΔE 0.041
- Soft Purple #A66FB5 ΔE 0.048
- Amethyst #9B5FC0 ΔE 0.051
- Grey Purple #826D8C ΔE 0.062
Use #8A6DB2 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.