#AB4FBA
Closest named color: Amethyst (#9B5FC0). oklch(58.5% 0.18 321.8), rgb(171, 79, 186).
Aa
White text reads best on this color (4.60:1).
About this color
#AB4FBA is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.180 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.041 away. White text reads best on it, at 4.60:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.180) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 4.55:1 |
| White text | 4.60:1 |
Values
| HEX | #AB4FBA |
| RGB | rgb(171, 79, 186) |
| HSL | hsl(292, 44%, 52%) |
| OKLCH | oklch(58.5% 0.18 321.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 #AB4FBA | 4.60:1 | AA | Lc -76.9 | Fine for body text |
| Black text on #AB4FBA | 4.55:1 | AA | Lc 32.7 | Non-text elements, placeholder text |
| #AB4FBA text on white | 4.60:1 | AA | Lc 71.4 | Content text, not long reading |
| #AB4FBA text on black | 4.55:1 | AA | Lc -30.2 | 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 600.
-
Step 50
50
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F2E5F3
oklch(93.6% 0.023 323.6)
-
Step 200
200
#E8D0EB
oklch(88.5% 0.045 322.5)
-
Step 300
300
#DAB0E0
oklch(81% 0.08 322.1)
-
Step 400
400
#C684D1
oklch(70.7% 0.13 321.7)
-
Step 500
500
#B662C4
oklch(63% 0.166 321.7)
-
Step 600
600 (this color)
#AB4FBA
oklch(58.5% 0.18 321.8)
-
Step 700
700
#8A3698
oklch(49% 0.168 321.7)
-
Step 800
800
#702E7B
oklch(42.6% 0.139 321.7)
-
Step 900
900
#5B2A63
oklch(37.6% 0.108 321.8)
-
Step 950
950
#35193A
oklch(26.8% 0.069 321.4)
#AB4FBA 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) | #3B6EBD | 0.174 |
| Deuteranopia (no green cones) | #5B79B7 | 0.153 |
| Tritanopia (no blue cones) | #AD5F7D | 0.110 |
| Achromatopsia (no color) | #757575 | 0.182 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB4FBA
#AB4FBA
oklch(58.5% 0.18 321.8)
- #28941D
#28941D
oklch(58.4% 0.18 141.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 #AB4FBA, closest first.
No curated palette has a color within ΔE 0.04 of #AB4FBA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.041
- Medium Orchid #BA55D3 ΔE 0.047
- Purply #983FB2 ΔE 0.051
- Pinky Purple #C94CBE ΔE 0.056
- Purpley Pink #C83CB9 ΔE 0.058
- Deep Lavender #8D5EB7 ΔE 0.060
- Soft Purple #A66FB5 ΔE 0.074
- Dark Orchid #9932CC ΔE 0.074
Use #AB4FBA 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.