#AB2CA2
Closest named color: Purply (#983FB2). oklch(53.5% 0.206 331.2), rgb(171, 44, 162).
Aa
White text reads best on this color (5.81:1).
About this color
#AB2CA2 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.206 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.049 away. White text reads best on it, at 5.81:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.206) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.61:1 |
| White text | 5.81:1 |
Values
| HEX | #AB2CA2 |
| RGB | rgb(171, 44, 162) |
| HSL | hsl(304, 59%, 42%) |
| OKLCH | oklch(53.5% 0.206 331.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 #AB2CA2 | 5.81:1 | AA | Lc -83.1 | Fine for body text |
| Black text on #AB2CA2 | 3.61:1 | AA large text | Lc 26.2 | Dividers and decoration only |
| #AB2CA2 text on white | 5.81:1 | AA | Lc 77.9 | Fine for body text |
| #AB2CA2 text on black | 3.61:1 | AA large text | Lc -23.9 | 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
#FBF3F9
oklch(97.2% 0.012 334.1)
-
Step 100
100
#F5E4F2
oklch(93.6% 0.026 331.5)
-
Step 200
200
#EECDE9
oklch(88.4% 0.052 331)
-
Step 300
300
#E4ABDC
oklch(80.9% 0.092 331.3)
-
Step 400
400
#D47BCB
oklch(70.6% 0.149 330.8)
-
Step 500
500
#C755BD
oklch(63.1% 0.19 331.1)
-
Step 600
600 (this color)
#AB2CA2
oklch(53.5% 0.206 331.2)
-
Step 700
700
#992591
oklch(49.2% 0.191 331.1)
-
Step 800
800
#7C2175
oklch(42.6% 0.158 331.3)
-
Step 900
900
#64225F
oklch(37.6% 0.124 330.8)
-
Step 950
950
#3B1538
oklch(27% 0.079 330.6)
#AB2CA2 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) | #205AA5 | 0.223 |
| Deuteranopia (no green cones) | #546B9F | 0.188 |
| Tritanopia (no blue cones) | #B23C65 | 0.109 |
| Achromatopsia (no color) | #656565 | 0.208 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB2CA2
#AB2CA2
oklch(53.5% 0.206 331.2)
- #00833F
#00833F
oklch(53.4% 0.143 151.3)
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 #AB2CA2, closest first.
No curated palette has a color within ΔE 0.04 of #AB2CA2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.049
- Warm Purple #952E8F ΔE 0.051
- Purpley Pink #C83CB9 ΔE 0.071
- Medium Violet Red #C71585 ΔE 0.073
- Dark Orchid #9932CC ΔE 0.077
- Light Eggplant #894585 ΔE 0.088
- Dark Magenta #8B008B ΔE 0.088
- Pinky Purple #C94CBE ΔE 0.089
Use #AB2CA2 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.