#AB28A5
Closest named color: Purply (#983FB2). oklch(53.3% 0.212 330.1), rgb(171, 40, 165).
Aa
White text reads best on this color (5.86:1).
About this color
#AB28A5 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.212 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.050 away. White text reads best on it, at 5.86:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.212) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.57:1 |
| White text | 5.86:1 |
Values
| HEX | #AB28A5 |
| RGB | rgb(171, 40, 165) |
| HSL | hsl(303, 62%, 41%) |
| OKLCH | oklch(53.3% 0.212 330.1) |
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 #AB28A5 | 5.86:1 | AA | Lc -83.3 | Fine for body text |
| Black text on #AB28A5 | 3.57:1 | AA large text | Lc 26.0 | Dividers and decoration only |
| #AB28A5 text on white | 5.86:1 | AA | Lc 78.0 | Fine for body text |
| #AB28A5 text on black | 3.57:1 | AA large text | Lc -23.8 | 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
#FBF2FA
oklch(97% 0.014 329.1)
-
Step 100
100
#F5E4F3
oklch(93.7% 0.027 329.5)
-
Step 200
200
#EECDEA
oklch(88.5% 0.053 330)
-
Step 300
300
#E4AADE
oklch(80.8% 0.096 330)
-
Step 400
400
#D57ACD
oklch(70.7% 0.153 330.3)
-
Step 500
500
#C753C0
oklch(63% 0.195 330)
-
Step 600
600 (this color)
#AB28A5
oklch(53.3% 0.212 330.1)
-
Step 700
700
#992194
oklch(49% 0.198 330)
-
Step 800
800
#7D1F78
oklch(42.8% 0.164 330.3)
-
Step 900
900
#652161
oklch(37.8% 0.128 330.2)
-
Step 950
950
#3B1539
oklch(27% 0.08 329.6)
#AB28A5 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) | #1559A8 | 0.231 |
| Deuteranopia (no green cones) | #516BA2 | 0.194 |
| Tritanopia (no blue cones) | #B13B65 | 0.115 |
| Achromatopsia (no color) | #656565 | 0.214 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB28A5
#AB28A5
oklch(53.3% 0.212 330.1)
- #00833B
#00833B
oklch(53.3% 0.146 150.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 #AB28A5, closest first.
No curated palette has a color within ΔE 0.04 of #AB28A5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.050
- Warm Purple #952E8F ΔE 0.054
- Purpley Pink #C83CB9 ΔE 0.072
- Dark Orchid #9932CC ΔE 0.073
- Medium Violet Red #C71585 ΔE 0.077
- Dark Magenta #8B008B ΔE 0.087
- Pinky Purple #C94CBE ΔE 0.091
- Vibrant Purple #AD03DE ΔE 0.092
Use #AB28A5 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.