#AB54C2
Closest named color: Amethyst (#9B5FC0). oklch(59.6% 0.18 318.8), rgb(171, 84, 194).
Aa
Black text reads best on this color (4.77:1).
About this color
#AB54C2 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.180 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.035 away. Black text reads best on it, at 4.77:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.180) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 4.77:1 |
| White text | 4.39:1 |
Values
| HEX | #AB54C2 |
| RGB | rgb(171, 84, 194) |
| HSL | hsl(287, 47%, 55%) |
| OKLCH | oklch(59.6% 0.18 318.8) |
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 #AB54C2 | 4.39:1 | AA large text | Lc -75.4 | Fine for body text |
| Black text on #AB54C2 | 4.77:1 | AA | Lc 34.1 | Non-text elements, placeholder text |
| #AB54C2 text on white | 4.39:1 | AA large text | Lc 70.0 | Content text, not long reading |
| #AB54C2 text on black | 4.77:1 | AA | Lc -31.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
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F1E5F5
oklch(93.6% 0.025 317.7)
-
Step 200
200
#E8CFEE
oklch(88.5% 0.05 319.7)
-
Step 300
300
#D9AFE5
oklch(80.9% 0.087 318.6)
-
Step 400
400
#C682D8
oklch(70.7% 0.141 319)
-
Step 500
500 (this color)
#AB54C2
oklch(59.6% 0.18 318.8)
-
Step 600
600
#A241BA
oklch(55.6% 0.196 319.1)
-
Step 700
700
#8A32A1
oklch(49.1% 0.182 318.6)
-
Step 800
800
#702B82
oklch(42.7% 0.15 318.7)
-
Step 900
900
#5B2868
oklch(37.6% 0.117 319.1)
-
Step 950
950
#35183D
oklch(26.9% 0.075 318.6)
#AB54C2 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) | #3C73C6 | 0.169 |
| Deuteranopia (no green cones) | #5A7BBF | 0.149 |
| Tritanopia (no blue cones) | #AB6583 | 0.114 |
| Achromatopsia (no color) | #787878 | 0.182 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB54C2
#AB54C2
oklch(59.6% 0.18 318.8)
- #3B9611
#3B9611
oklch(59.5% 0.18 138.8)
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 #AB54C2, closest first.
No curated palette has a color within ΔE 0.04 of #AB54C2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.035
- Medium Orchid #BA55D3 ΔE 0.037
- Pinky Purple #C94CBE ΔE 0.056
- Deep Lavender #8D5EB7 ΔE 0.058
- Purply #983FB2 ΔE 0.061
- Purpley Pink #C83CB9 ΔE 0.063
- Deep Lilac #966EBD ΔE 0.067
- Soft Purple #A66FB5 ΔE 0.068
Use #AB54C2 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.