#AB52AB
Closest named color: Amethyst (#9B5FC0). oklch(58.1% 0.162 327.4), rgb(171, 82, 171).
Aa
White text reads best on this color (4.63:1).
About this color
#AB52AB is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.162 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.047 away. White text reads best on it, at 4.63:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.162) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 4.52:1 |
| White text | 4.63:1 |
Values
| HEX | #AB52AB |
| RGB | rgb(171, 82, 171) |
| HSL | hsl(300, 35%, 50%) |
| OKLCH | oklch(58.1% 0.162 327.4) |
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 #AB52AB | 4.63:1 | AA | Lc -77.2 | Fine for body text |
| Black text on #AB52AB | 4.52:1 | AA | Lc 32.3 | Non-text elements, placeholder text |
| #AB52AB text on white | 4.63:1 | AA | Lc 71.7 | Content text, not long reading |
| #AB52AB text on black | 4.52:1 | AA | Lc -29.9 | 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
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F2E5F1
oklch(93.6% 0.021 328.1)
-
Step 200
200
#E8D0E7
oklch(88.4% 0.041 327.2)
-
Step 300
300
#DBB1D9
oklch(81% 0.072 327.7)
-
Step 400
400
#C786C6
oklch(70.7% 0.116 327.2)
-
Step 500
500
#B865B7
oklch(63.1% 0.149 327.6)
-
Step 600
600 (this color)
#AB52AB
oklch(58.1% 0.162 327.4)
-
Step 700
700
#8B3B8C
oklch(49.1% 0.15 327.1)
-
Step 800
800
#713171
oklch(42.6% 0.125 327.5)
-
Step 900
900
#5C2C5C
oklch(37.7% 0.098 327.3)
-
Step 950
950
#361A36
oklch(26.9% 0.063 327.1)
#AB52AB 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) | #496DAE | 0.160 |
| Deuteranopia (no green cones) | #6579A8 | 0.141 |
| Tritanopia (no blue cones) | #B05C77 | 0.091 |
| Achromatopsia (no color) | #757575 | 0.163 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB52AB
#AB52AB
oklch(58.1% 0.162 327.4)
- #1A933C
#1A933C
oklch(58.1% 0.161 147.4)
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 #AB52AB, closest first.
No curated palette has a color within ΔE 0.04 of #AB52AB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.047
- Deep Lavender #8D5EB7 ΔE 0.059
- Purply #983FB2 ΔE 0.060
- Pinky Purple #C94CBE ΔE 0.062
- Soft Purple #A66FB5 ΔE 0.064
- Purpley Pink #C83CB9 ΔE 0.066
- Medium Orchid #BA55D3 ΔE 0.066
- Dark Lilac #9C6DA5 ΔE 0.068
Use #AB52AB 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.