#AB31BD
Closest named color: Purply (#983FB2). oklch(55.5% 0.222 322.2), rgb(171, 49, 189).
Aa
White text reads best on this color (5.37:1).
About this color
#AB31BD is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.222 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.043 away. White text reads best on it, at 5.37:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.222) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.90:1 |
| White text | 5.37:1 |
Values
| HEX | #AB31BD |
| RGB | rgb(171, 49, 189) |
| HSL | hsl(292, 59%, 47%) |
| OKLCH | oklch(55.5% 0.222 322.2) |
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 #AB31BD | 5.37:1 | AA | Lc -81.0 | Fine for body text |
| Black text on #AB31BD | 3.90:1 | AA large text | Lc 28.5 | Dividers and decoration only |
| #AB31BD text on white | 5.37:1 | AA | Lc 75.6 | Fine for body text |
| #AB31BD text on black | 3.90:1 | AA large text | Lc -26.1 | Dividers and decoration only |
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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F6
oklch(93.6% 0.029 320.6)
-
Step 200
200
#EBCEEF
oklch(88.6% 0.054 322.2)
-
Step 300
300
#DFABE7
oklch(80.8% 0.1 321.9)
-
Step 400
400
#CE7BDB
oklch(70.6% 0.161 322)
-
Step 500
500
#C054D1
oklch(63.1% 0.205 322)
-
Step 600
600 (this color)
#AB31BD
oklch(55.5% 0.222 322.2)
-
Step 700
700
#9321A3
oklch(49.1% 0.207 322.3)
-
Step 800
800
#771F84
oklch(42.6% 0.171 322.2)
-
Step 900
900
#61216A
oklch(37.7% 0.134 322.5)
-
Step 950
950
#39153E
oklch(27% 0.084 322.6)
#AB31BD 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) | #0062C1 | 0.225 |
| Deuteranopia (no green cones) | #456FBA | 0.195 |
| Tritanopia (no blue cones) | #AD4C75 | 0.133 |
| Achromatopsia (no color) | #6A6A6A | 0.224 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB31BD
#AB31BD
oklch(55.5% 0.222 322.2)
- #098C00
#098C00
oklch(55.5% 0.188 142.2)
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 #AB31BD, closest first.
No curated palette has a color within ΔE 0.04 of #AB31BD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.043
- Dark Orchid #9932CC ΔE 0.044
- Vibrant Purple #AD03DE ΔE 0.061
- Purpley Pink #C83CB9 ΔE 0.064
- Medium Orchid #BA55D3 ΔE 0.074
- Dark Violet #9400D3 ΔE 0.076
- Pinky Purple #C94CBE ΔE 0.079
- Warm Purple #952E8F ΔE 0.082
Use #AB31BD 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.