#AB5BA2
Closest named color: Dark Lilac (#9C6DA5). oklch(59% 0.138 331.5), rgb(171, 91, 162).
Aa
Black text reads best on this color (4.74:1).
About this color
#AB5BA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.138 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.047 away. Black text reads best on it, at 4.74:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.138) |
| Temperature | in between |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 4.74:1 |
| White text | 4.42:1 |
Values
| HEX | #AB5BA2 |
| RGB | rgb(171, 91, 162) |
| HSL | hsl(307, 32%, 51%) |
| OKLCH | oklch(59% 0.138 331.5) |
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 #AB5BA2 | 4.42:1 | AA large text | Lc -75.8 | Fine for body text |
| Black text on #AB5BA2 | 4.74:1 | AA | Lc 33.8 | Non-text elements, placeholder text |
| #AB5BA2 text on white | 4.42:1 | AA large text | Lc 70.3 | Content text, not long reading |
| #AB5BA2 text on black | 4.74:1 | AA | Lc -31.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 600.
-
Step 50
50
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F1E6EF
oklch(93.6% 0.017 331.6)
-
Step 200
200
#E7D1E4
oklch(88.4% 0.035 330.3)
-
Step 300
300
#D9B2D3
oklch(80.8% 0.063 331.4)
-
Step 400
400
#C589BD
oklch(70.6% 0.1 331.3)
-
Step 500
500
#B56BAC
oklch(63.1% 0.127 331.5)
-
Step 600
600 (this color)
#AB5BA2
oklch(59% 0.138 331.5)
-
Step 700
700
#894181
oklch(49.1% 0.129 331.7)
-
Step 800
800
#6F3669
oklch(42.6% 0.107 331.3)
-
Step 900
900
#5A3055
oklch(37.7% 0.081 331.5)
-
Step 950
950
#351C32
oklch(27% 0.053 331.4)
#AB5BA2 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) | #5871A4 | 0.138 |
| Deuteranopia (no green cones) | #6E7CA0 | 0.124 |
| Tritanopia (no blue cones) | #B16177 | 0.074 |
| Achromatopsia (no color) | #787878 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB5BA2
#AB5BA2
oklch(59% 0.138 331.5)
- #2A9451
#2A9451
oklch(59.1% 0.139 151.4)
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 #AB5BA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.047
- Soft Purple #A66FB5 ΔE 0.049
- Light Plum #9D5783 ΔE 0.054
- Amethyst #9B5FC0 ΔE 0.054
- Deep Lilac #966EBD ΔE 0.062
- Deep Lavender #8D5EB7 ΔE 0.062
- Faded Purple #916E99 ΔE 0.066
- Dark Lavender #856798 ΔE 0.073
Use #AB5BA2 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.