#AB5FBA
Closest named color: Amethyst (#9B5FC0). oklch(60.7% 0.155 320.8), rgb(171, 95, 186).
Aa
Black text reads best on this color (5.07:1).
About this color
#AB5FBA is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.155 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.030 away. Black text reads best on it, at 5.07:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.155) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 5.07:1 |
| White text | 4.13:1 |
Values
| HEX | #AB5FBA |
| RGB | rgb(171, 95, 186) |
| HSL | hsl(290, 40%, 55%) |
| OKLCH | oklch(60.7% 0.155 320.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 #AB5FBA | 4.13:1 | AA large text | Lc -73.6 | Content text, not long reading |
| Black text on #AB5FBA | 5.07:1 | AA | Lc 36.0 | Non-text elements, placeholder text |
| #AB5FBA text on white | 4.13:1 | AA large text | Lc 68.1 | Content text, not long reading |
| #AB5FBA text on black | 5.07:1 | AA | Lc -33.6 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F1E5F3
oklch(93.5% 0.023 321.4)
-
Step 200
200
#E6D1EA
oklch(88.5% 0.041 320.8)
-
Step 300
300
#D7B1DF
oklch(80.9% 0.076 320.4)
-
Step 400
400
#C387CF
oklch(70.8% 0.121 320.7)
-
Step 500
500 (this color)
#AB5FBA
oklch(60.7% 0.155 320.8)
-
Step 600
600
#9E4BAE
oklch(55.6% 0.168 320.9)
-
Step 700
700
#873B95
oklch(49.1% 0.157 321.2)
-
Step 800
800
#6E3279
oklch(42.8% 0.129 321.2)
-
Step 900
900
#592D62
oklch(37.8% 0.101 320.6)
-
Step 950
950
#341B39
oklch(27% 0.063 320.8)
#AB5FBA 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) | #5177BD | 0.142 |
| Deuteranopia (no green cones) | #6780B7 | 0.128 |
| Tritanopia (no blue cones) | #AC6B84 | 0.096 |
| Achromatopsia (no color) | #7D7D7D | 0.156 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB5FBA
#AB5FBA
oklch(60.7% 0.155 320.8)
- #469838
#469838
oklch(60.7% 0.155 140.9)
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 #AB5FBA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.030
- Soft Purple #A66FB5 ΔE 0.040
- Deep Lilac #966EBD ΔE 0.047
- Medium Orchid #BA55D3 ΔE 0.051
- Deep Lavender #8D5EB7 ΔE 0.054
- Dark Lilac #9C6DA5 ΔE 0.056
- Pinky Purple #C94CBE ΔE 0.062
- Medium Purple #9370DB ΔE 0.068
Use #AB5FBA 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.