#AB5EA1
Closest named color: Dark Lilac (#9C6DA5). oklch(59.4% 0.132 332), rgb(171, 94, 161).
Aa
Black text reads best on this color (4.84:1).
About this color
#AB5EA1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.132 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.041 away. Black text reads best on it, at 4.84:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.132) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 4.84:1 |
| White text | 4.33:1 |
Values
| HEX | #AB5EA1 |
| RGB | rgb(171, 94, 161) |
| HSL | hsl(308, 31%, 52%) |
| OKLCH | oklch(59.4% 0.132 332) |
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 #AB5EA1 | 4.33:1 | AA large text | Lc -75.2 | Fine for body text |
| Black text on #AB5EA1 | 4.84:1 | AA | Lc 34.4 | Non-text elements, placeholder text |
| #AB5EA1 text on white | 4.33:1 | AA large text | Lc 69.7 | Content text, not long reading |
| #AB5EA1 text on black | 4.84:1 | AA | Lc -32.0 | 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
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F2E6EF
oklch(93.7% 0.018 334.2)
-
Step 200
200
#E8D1E4
oklch(88.5% 0.036 331.6)
-
Step 300
300
#DAB2D3
oklch(80.9% 0.064 332.2)
-
Step 400
400
#C788BD
oklch(70.7% 0.104 332.4)
-
Step 500
500 (this color)
#AB5EA1
oklch(59.4% 0.132 332)
-
Step 600
600
#A24F98
oklch(55.6% 0.143 332)
-
Step 700
700
#8B3F82
oklch(49.1% 0.135 332.1)
-
Step 800
800
#713569
oklch(42.8% 0.11 332.6)
-
Step 900
900
#5B2F56
oklch(37.7% 0.085 331.4)
-
Step 950
950
#361C32
oklch(27.1% 0.054 332.8)
#AB5EA1 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) | #5C73A3 | 0.131 |
| Deuteranopia (no green cones) | #717D9F | 0.117 |
| Tritanopia (no blue cones) | #B16378 | 0.069 |
| Achromatopsia (no color) | #797979 | 0.133 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB5EA1
#AB5EA1
oklch(59.4% 0.132 332)
- #319455
#319455
oklch(59.3% 0.132 151.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 #AB5EA1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.041
- Soft Purple #A66FB5 ΔE 0.044
- Light Plum #9D5783 ΔE 0.053
- Amethyst #9B5FC0 ΔE 0.056
- Deep Lilac #966EBD ΔE 0.060
- Faded Purple #916E99 ΔE 0.060
- Deep Lavender #8D5EB7 ΔE 0.064
- Dark Lavender #856798 ΔE 0.070
Use #AB5EA1 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.