#8A66A2
Closest named color: Dark Lavender (#856798). oklch(57% 0.098 311), rgb(138, 102, 162).
Aa
White text reads best on this color (4.66:1).
About this color
#8A66A2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.098 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.019 away. White text reads best on it, at 4.66:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.50:1 |
| White text | 4.66:1 |
Values
| HEX | #8A66A2 |
| RGB | rgb(138, 102, 162) |
| HSL | hsl(276, 24%, 52%) |
| OKLCH | oklch(57% 0.098 311) |
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 #8A66A2 | 4.66:1 | AA | Lc -77.7 | Fine for body text |
| Black text on #8A66A2 | 4.50:1 | AA | Lc 31.8 | Non-text elements, placeholder text |
| #8A66A2 text on white | 4.66:1 | AA | Lc 72.3 | Content text, not long reading |
| #8A66A2 text on black | 4.50:1 | AA | Lc -29.4 | Dividers and decoration only |
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
#F7F4F8
oklch(97.1% 0.006 317.8)
-
Step 100
100
#EDE8F0
oklch(93.7% 0.012 313.2)
-
Step 200
200
#DED5E5
oklch(88.5% 0.024 310.7)
-
Step 300
300
#CAB9D6
oklch(80.9% 0.044 311.4)
-
Step 400
400
#AF94C2
oklch(70.7% 0.072 311.1)
-
Step 500
500
#9B7AB2
oklch(63.2% 0.09 310.8)
-
Step 600
600 (this color)
#8A66A2
oklch(57% 0.098 311)
-
Step 700
700
#715187
oklch(49.1% 0.091 310.6)
-
Step 800
800
#5C426D
oklch(42.6% 0.076 311.2)
-
Step 900
900
#4C3859
oklch(37.7% 0.06 311.4)
-
Step 950
950
#2C2134
oklch(26.9% 0.038 310.4)
#8A66A2 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) | #5B72A4 | 0.074 |
| Deuteranopia (no green cones) | #6375A0 | 0.069 |
| Tritanopia (no blue cones) | #886E7C | 0.070 |
| Achromatopsia (no color) | #747474 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A66A2
#8A66A2
oklch(57% 0.098 311)
- #638343
#638343
oklch(57% 0.098 130.7)
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 #8A66A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.019
- Faded Purple #916E99 ΔE 0.032
- Dark Lilac #9C6DA5 ΔE 0.037
- Deep Lavender #8D5EB7 ΔE 0.042
- Dusty Purple #825F87 ΔE 0.045
- Grey Purple #826D8C ΔE 0.046
- Deep Lilac #966EBD ΔE 0.048
- Muted Purple #805B87 ΔE 0.050
Use #8A66A2 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.