#AB31C1
Closest named color: Dark Orchid (#9932CC). oklch(55.7% 0.225 321), rgb(171, 49, 193).
Aa
White text reads best on this color (5.32:1).
About this color
#AB31C1 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.225 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.041 away. White text reads best on it, at 5.32:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.225) |
| Temperature | in between |
| Nearest name | Dark Orchid (#9932CC) |
| Black text | 3.94:1 |
| White text | 5.32:1 |
Values
| HEX | #AB31C1 |
| RGB | rgb(171, 49, 193) |
| HSL | hsl(291, 60%, 47%) |
| OKLCH | oklch(55.7% 0.225 321) |
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 #AB31C1 | 5.32:1 | AA | Lc -80.7 | Fine for body text |
| Black text on #AB31C1 | 3.94:1 | AA large text | Lc 28.7 | Dividers and decoration only |
| #AB31C1 text on white | 5.32:1 | AA | Lc 75.3 | Fine for body text |
| #AB31C1 text on black | 3.94:1 | AA large text | Lc -26.4 | 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
#EBCEF0
oklch(88.6% 0.055 321.3)
-
Step 300
300
#DFABE9
oklch(80.9% 0.102 320.9)
-
Step 400
400
#CD7BDD
oklch(70.6% 0.162 320.9)
-
Step 500
500
#BF54D4
oklch(63.1% 0.207 320.8)
-
Step 600
600 (this color)
#AB31C1
oklch(55.7% 0.225 321)
-
Step 700
700
#9220A6
oklch(49% 0.209 321)
-
Step 800
800
#771F87
oklch(42.8% 0.173 320.9)
-
Step 900
900
#60216C
oklch(37.7% 0.135 320.9)
-
Step 950
950
#38153F
oklch(27% 0.085 320.7)
#AB31C1 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) | #0063C5 | 0.224 |
| Deuteranopia (no green cones) | #426FBE | 0.197 |
| Tritanopia (no blue cones) | #AC4E77 | 0.137 |
| Achromatopsia (no color) | #6B6B6B | 0.227 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB31C1
#AB31C1
oklch(55.7% 0.225 321)
- #1E8C00
#1E8C00
oklch(55.8% 0.184 141)
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 #AB31C1, closest first.
No curated palette has a color within ΔE 0.04 of #AB31C1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Orchid #9932CC ΔE 0.041
- Purply #983FB2 ΔE 0.045
- Vibrant Purple #AD03DE ΔE 0.056
- Purpley Pink #C83CB9 ΔE 0.065
- Medium Orchid #BA55D3 ΔE 0.072
- Dark Violet #9400D3 ΔE 0.073
- Pinky Purple #C94CBE ΔE 0.080
- Amethyst #9B5FC0 ΔE 0.085
Use #AB31C1 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.