#AB54C5
Closest named color: Medium Orchid (#BA55D3). oklch(59.8% 0.183 317.8), rgb(171, 84, 197).
Aa
Black text reads best on this color (4.80:1).
About this color
#AB54C5 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.183 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.034 away. Black text reads best on it, at 4.80:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.183) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.80:1 |
| White text | 4.36:1 |
Values
| HEX | #AB54C5 |
| RGB | rgb(171, 84, 197) |
| HSL | hsl(286, 49%, 55%) |
| OKLCH | oklch(59.8% 0.183 317.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 #AB54C5 | 4.36:1 | AA large text | Lc -75.2 | Fine for body text |
| Black text on #AB54C5 | 4.80:1 | AA | Lc 34.3 | Non-text elements, placeholder text |
| #AB54C5 text on white | 4.36:1 | AA large text | Lc 69.8 | Content text, not long reading |
| #AB54C5 text on black | 4.80:1 | AA | Lc -31.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
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F1E5F5
oklch(93.6% 0.025 317.7)
-
Step 200
200
#E7CFEF
oklch(88.4% 0.05 317.7)
-
Step 300
300
#D9AFE7
oklch(81% 0.089 317.6)
-
Step 400
400
#C582DA
oklch(70.7% 0.143 317.8)
-
Step 500
500 (this color)
#AB54C5
oklch(59.8% 0.183 317.8)
-
Step 600
600
#A140BD
oklch(55.6% 0.2 317.8)
-
Step 700
700
#8A31A3
oklch(49.2% 0.185 317.9)
-
Step 800
800
#702A84
oklch(42.7% 0.154 317.9)
-
Step 900
900
#5B286A
oklch(37.8% 0.12 317.9)
-
Step 950
950
#35183E
oklch(26.9% 0.076 317.6)
#AB54C5 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) | #3973C9 | 0.171 |
| Deuteranopia (no green cones) | #587CC2 | 0.151 |
| Tritanopia (no blue cones) | #AB6685 | 0.117 |
| Achromatopsia (no color) | #797979 | 0.185 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB54C5
#AB54C5
oklch(59.8% 0.183 317.8)
- #3E9702
#3E9702
oklch(59.8% 0.184 137.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 #AB54C5, closest first.
No curated palette has a color within ΔE 0.04 of #AB54C5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.034
- Amethyst #9B5FC0 ΔE 0.036
- Pinky Purple #C94CBE ΔE 0.057
- Deep Lavender #8D5EB7 ΔE 0.060
- Purply #983FB2 ΔE 0.062
- Purpley Pink #C83CB9 ΔE 0.064
- Deep Lilac #966EBD ΔE 0.068
- Soft Purple #A66FB5 ΔE 0.070
Use #AB54C5 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.