#AB2EBA
Closest named color: Purply (#983FB2). oklch(55% 0.222 323.2), rgb(171, 46, 186).
Aa
White text reads best on this color (5.48:1).
About this color
#AB2EBA is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.222 and its hue 323°. 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.48:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.222) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.83:1 |
| White text | 5.48:1 |
Values
| HEX | #AB2EBA |
| RGB | rgb(171, 46, 186) |
| HSL | hsl(294, 60%, 45%) |
| OKLCH | oklch(55% 0.222 323.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 #AB2EBA | 5.48:1 | AA | Lc -81.5 | Fine for body text |
| Black text on #AB2EBA | 3.83:1 | AA large text | Lc 27.9 | Dividers and decoration only |
| #AB2EBA text on white | 5.48:1 | AA | Lc 76.1 | Fine for body text |
| #AB2EBA text on black | 3.83:1 | AA large text | Lc -25.6 | 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
#F4E4F5
oklch(93.7% 0.028 324)
-
Step 200
200
#ECCDEF
oklch(88.5% 0.057 323.3)
-
Step 300
300
#E0ABE6
oklch(80.9% 0.099 323)
-
Step 400
400
#CF7BD9
oklch(70.6% 0.159 323.1)
-
Step 500
500
#C253CF
oklch(63.1% 0.205 323.4)
-
Step 600
600 (this color)
#AB2EBA
oklch(55% 0.222 323.2)
-
Step 700
700
#9420A2
oklch(49.1% 0.207 323.1)
-
Step 800
800
#781E83
oklch(42.6% 0.171 323.1)
-
Step 900
900
#612169
oklch(37.7% 0.133 323.1)
-
Step 950
950
#39153E
oklch(27% 0.084 322.6)
#AB2EBA 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) | #0060BE | 0.228 |
| Deuteranopia (no green cones) | #466EB7 | 0.197 |
| Tritanopia (no blue cones) | #AE4973 | 0.131 |
| Achromatopsia (no color) | #696969 | 0.224 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB2EBA
#AB2EBA
oklch(55% 0.222 323.2)
- #008A0F
#008A0F
oklch(54.9% 0.183 143.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 #AB2EBA, closest first.
No curated palette has a color within ΔE 0.04 of #AB2EBA.
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.047
- Vibrant Purple #AD03DE ΔE 0.063
- Purpley Pink #C83CB9 ΔE 0.065
- Dark Violet #9400D3 ΔE 0.077
- Warm Purple #952E8F ΔE 0.078
- Medium Orchid #BA55D3 ΔE 0.079
- Pinky Purple #C94CBE ΔE 0.081
Use #AB2EBA 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.