#A166E4
Closest named color: Medium Purple (#9370DB). oklch(63% 0.187 303), rgb(161, 102, 228).
Aa
Black text reads best on this color (5.53:1).
About this color
#A166E4 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.187 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.035 away. Black text reads best on it, at 5.53:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.187) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.53:1 |
| White text | 3.79:1 |
Values
| HEX | #A166E4 |
| RGB | rgb(161, 102, 228) |
| HSL | hsl(268, 70%, 65%) |
| OKLCH | oklch(63% 0.187 303) |
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 #A166E4 | 3.79:1 | AA large text | Lc -70.6 | Content text, not long reading |
| Black text on #A166E4 | 5.53:1 | AA | Lc 39.0 | Non-text elements, placeholder text |
| #A166E4 text on white | 3.79:1 | AA large text | Lc 65.1 | Content text, not long reading |
| #A166E4 text on black | 5.53:1 | AA | Lc -36.6 | 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
#EDE6F9
oklch(93.6% 0.026 302.6)
-
Step 200
200
#E0D2F5
oklch(88.6% 0.05 303.5)
-
Step 300
300
#CCB3F2
oklch(81% 0.091 302.6)
-
Step 400
400
#B388EB
oklch(70.7% 0.146 302.9)
-
Step 500
500 (this color)
#A166E4
oklch(63% 0.187 303)
-
Step 600
600
#8D49D2
oklch(55.6% 0.203 303.2)
-
Step 700
700
#7839B6
oklch(49.1% 0.189 303.1)
-
Step 800
800
#613093
oklch(42.6% 0.156 303)
-
Step 900
900
#4F2C75
oklch(37.6% 0.122 303.1)
-
Step 950
950
#2E1B45
oklch(27% 0.077 302.4)
#A166E4 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) | #3582E8 | 0.143 |
| Deuteranopia (no green cones) | #4A83E1 | 0.130 |
| Tritanopia (no blue cones) | #957E9B | 0.139 |
| Achromatopsia (no color) | #838383 | 0.188 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A166E4
#A166E4
oklch(63% 0.187 303)
- #789700
#789700
oklch(63% 0.154 123)
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 #A166E4, closest first.
No curated palette has a color within ΔE 0.04 of #A166E4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.035
- Lighter Purple #A55AF4 ΔE 0.036
- Light Urple #B36FF6 ΔE 0.045
- Amethyst #9B5FC0 ΔE 0.056
- Medium Orchid #BA55D3 ΔE 0.057
- Purpley #8756E4 ΔE 0.060
- Medium Slate Blue #7B68EE ΔE 0.064
- Deep Lilac #966EBD ΔE 0.067
Use #A166E4 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.