#AB54D9
Closest named color: Medium Orchid (#BA55D3). oklch(60.9% 0.204 312), rgb(171, 84, 217).
Aa
Black text reads best on this color (5.00:1).
About this color
#AB54D9 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.204 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.030 away. Black text reads best on it, at 5.00:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.204) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.00:1 |
| White text | 4.19:1 |
Values
| HEX | #AB54D9 |
| RGB | rgb(171, 84, 217) |
| HSL | hsl(279, 64%, 59%) |
| OKLCH | oklch(60.9% 0.204 312) |
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 #AB54D9 | 4.19:1 | AA large text | Lc -73.9 | Content text, not long reading |
| Black text on #AB54D9 | 5.00:1 | AA | Lc 35.7 | Non-text elements, placeholder text |
| #AB54D9 text on white | 4.19:1 | AA large text | Lc 68.4 | Content text, not long reading |
| #AB54D9 text on black | 5.00:1 | AA | Lc -33.3 | 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
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#F0E5F8
oklch(93.6% 0.028 311.3)
-
Step 200
200
#E6CFF4
oklch(88.5% 0.056 312.8)
-
Step 300
300
#D6AEF0
oklch(80.9% 0.1 311.7)
-
Step 400
400
#C280E8
oklch(70.7% 0.161 312.1)
-
Step 500
500 (this color)
#AB54D9
oklch(60.9% 0.204 312)
-
Step 600
600
#9D3ACE
oklch(55.5% 0.222 311.9)
-
Step 700
700
#872AB2
oklch(49.1% 0.206 312.3)
-
Step 800
800
#6D2690
oklch(42.7% 0.17 312)
-
Step 900
900
#592573
oklch(37.7% 0.133 312.4)
-
Step 950
950
#341743
oklch(27% 0.084 312.5)
#AB54D9 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) | #1E77DD | 0.184 |
| Deuteranopia (no green cones) | #4A7DD6 | 0.161 |
| Tritanopia (no blue cones) | #A66D8F | 0.138 |
| Achromatopsia (no color) | #7C7C7C | 0.205 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB54D9
#AB54D9
oklch(60.9% 0.204 312)
- #5A9600
#5A9600
oklch(60.8% 0.169 132.1)
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 #AB54D9, closest first.
No curated palette has a color within ΔE 0.04 of #AB54D9.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.030
- Lighter Purple #A55AF4 ΔE 0.043
- Amethyst #9B5FC0 ΔE 0.053
- Purpley #8756E4 ΔE 0.067
- Light Urple #B36FF6 ΔE 0.069
- Medium Purple #9370DB ΔE 0.069
- Pinky Purple #C94CBE ΔE 0.070
- Dark Orchid #9932CC ΔE 0.072
Use #AB54D9 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.