#AB52A5
Closest named color: Amethyst (#9B5FC0). oklch(57.8% 0.156 330), rgb(171, 82, 165).
Aa
White text reads best on this color (4.68:1).
About this color
#AB52A5 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.156 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.053 away. White text reads best on it, at 4.68:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.156) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 4.48:1 |
| White text | 4.68:1 |
Values
| HEX | #AB52A5 |
| RGB | rgb(171, 82, 165) |
| HSL | hsl(304, 35%, 50%) |
| OKLCH | oklch(57.8% 0.156 330) |
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 #AB52A5 | 4.68:1 | AA | Lc -77.5 | Fine for body text |
| Black text on #AB52A5 | 4.48:1 | AA large text | Lc 32.0 | Non-text elements, placeholder text |
| #AB52A5 text on white | 4.68:1 | AA | Lc 72.1 | Content text, not long reading |
| #AB52A5 text on black | 4.48:1 | AA large text | Lc -29.6 | 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
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F2E5F0
oklch(93.5% 0.02 330.7)
-
Step 200
200
#E9D0E6
oklch(88.5% 0.04 329.8)
-
Step 300
300
#DBB1D6
oklch(80.9% 0.069 330.2)
-
Step 400
400
#C886C2
oklch(70.6% 0.113 329.9)
-
Step 500
500
#B966B2
oklch(63.1% 0.144 330.3)
-
Step 600
600 (this color)
#AB52A5
oklch(57.8% 0.156 330)
-
Step 700
700
#8C3C87
oklch(49.1% 0.145 330)
-
Step 800
800
#72326E
oklch(42.7% 0.121 329.9)
-
Step 900
900
#5C2D59
oklch(37.7% 0.093 329.6)
-
Step 950
950
#361B34
oklch(27% 0.058 329.8)
#AB52A5 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) | #4D6CA8 | 0.156 |
| Deuteranopia (no green cones) | #6778A2 | 0.139 |
| Tritanopia (no blue cones) | #B15A74 | 0.085 |
| Achromatopsia (no color) | #747474 | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB52A5
#AB52A5
oklch(57.8% 0.156 330)
- #0C9243
#0C9243
oklch(57.8% 0.156 149.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 #AB52A5, closest first.
No curated palette has a color within ΔE 0.04 of #AB52A5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.053
- Light Plum #9D5783 ΔE 0.062
- Deep Lavender #8D5EB7 ΔE 0.062
- Purply #983FB2 ΔE 0.064
- Soft Purple #A66FB5 ΔE 0.065
- Dark Lilac #9C6DA5 ΔE 0.066
- Pinky Purple #C94CBE ΔE 0.067
- Purpley Pink #C83CB9 ΔE 0.070
Use #AB52A5 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.