#A166D8
Closest named color: Medium Purple (#9370DB). oklch(62.3% 0.173 305.9), rgb(161, 102, 216).
Aa
Black text reads best on this color (5.40:1).
About this color
#A166D8 is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.173 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.031 away. Black text reads best on it, at 5.40:1.
| Hue family | Purples |
| Lightness | medium-light (62%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.40:1 |
| White text | 3.88:1 |
Values
| HEX | #A166D8 |
| RGB | rgb(161, 102, 216) |
| HSL | hsl(271, 59%, 62%) |
| OKLCH | oklch(62.3% 0.173 305.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 #A166D8 | 3.88:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #A166D8 | 5.40:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #A166D8 text on white | 3.88:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #A166D8 text on black | 5.40:1 | AA | Lc -35.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
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EEE6F7
oklch(93.6% 0.024 307)
-
Step 200
200
#E1D2F2
oklch(88.6% 0.046 306.6)
-
Step 300
300
#CEB3EC
oklch(80.9% 0.084 306.1)
-
Step 400
400
#B589E3
oklch(70.7% 0.135 305.7)
-
Step 500
500 (this color)
#A166D8
oklch(62.3% 0.173 305.9)
-
Step 600
600
#8F4DC8
oklch(55.7% 0.187 305.9)
-
Step 700
700
#7A3DAD
oklch(49.2% 0.174 306)
-
Step 800
800
#63338C
oklch(42.7% 0.144 306)
-
Step 900
900
#512E70
oklch(37.8% 0.113 306.2)
-
Step 950
950
#2F1C42
oklch(27.1% 0.071 305.2)
#A166D8 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) | #417FDC | 0.135 |
| Deuteranopia (no green cones) | #5482D5 | 0.122 |
| Tritanopia (no blue cones) | #987B95 | 0.127 |
| Achromatopsia (no color) | #818181 | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A166D8
#A166D8
oklch(62.3% 0.173 305.9)
- #6F9700
#6F9700
oklch(62.3% 0.159 126.1)
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 #A166D8, closest first.
No curated palette has a color within ΔE 0.04 of #A166D8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.031
- Amethyst #9B5FC0 ΔE 0.039
- Lighter Purple #A55AF4 ΔE 0.051
- Deep Lilac #966EBD ΔE 0.051
- Medium Orchid #BA55D3 ΔE 0.053
- Light Urple #B36FF6 ΔE 0.056
- Deep Lavender #8D5EB7 ΔE 0.062
- Soft Purple #A66FB5 ΔE 0.063
Use #A166D8 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.