#A173D5
Closest named color: Medium Purple (#9370DB). oklch(64.2% 0.148 304.2), rgb(161, 115, 213).
Aa
Black text reads best on this color (5.92:1).
About this color
#A173D5 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.148 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.027 away. Black text reads best on it, at 5.92:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.148) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.92:1 |
| White text | 3.54:1 |
Values
| HEX | #A173D5 |
| RGB | rgb(161, 115, 213) |
| HSL | hsl(268, 54%, 64%) |
| OKLCH | oklch(64.2% 0.148 304.2) |
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 #A173D5 | 3.54:1 | AA large text | Lc -68.3 | Content text, not long reading |
| Black text on #A173D5 | 5.92:1 | AA | Lc 41.3 | Non-text elements, placeholder text |
| #A173D5 text on white | 3.54:1 | AA large text | Lc 62.8 | Content text, not long reading |
| #A173D5 text on black | 5.92:1 | AA | Lc -38.9 | 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
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EDE7F6
oklch(93.7% 0.021 304)
-
Step 200
200
#DFD3EF
oklch(88.5% 0.04 304.9)
-
Step 300
300
#CBB5E7
oklch(80.8% 0.073 304.8)
-
Step 400
400
#B18EDB
oklch(70.8% 0.115 304.5)
-
Step 500
500 (this color)
#A173D5
oklch(64.2% 0.148 304.2)
-
Step 600
600
#8956BE
oklch(55.7% 0.16 304.3)
-
Step 700
700
#7445A4
oklch(49.1% 0.15 304.3)
-
Step 800
800
#5E3985
oklch(42.6% 0.125 304.1)
-
Step 900
900
#4D326B
oklch(37.7% 0.098 304)
-
Step 950
950
#2D1E3E
oklch(27% 0.06 304.3)
#A173D5 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) | #5887D9 | 0.106 |
| Deuteranopia (no green cones) | #6488D2 | 0.097 |
| Tritanopia (no blue cones) | #98849A | 0.111 |
| Achromatopsia (no color) | #888888 | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A173D5
#A173D5
oklch(64.2% 0.148 304.2)
- #7A9B20
#7A9B20
oklch(64.2% 0.148 124.2)
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 #A173D5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.027
- Deep Lilac #966EBD ΔE 0.041
- Wisteria #A87DC2 ΔE 0.045
- Soft Purple #A66FB5 ΔE 0.048
- Amethyst #9B5FC0 ΔE 0.054
- Light Urple #B36FF6 ΔE 0.059
- Perrywinkle #8F8CE7 ΔE 0.065
- Periwinkle #8E82FE ΔE 0.070
Use #A173D5 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.