#AB28C8
Closest named color: Dark Orchid (#9932CC). oklch(55.5% 0.239 319.3), rgb(171, 40, 200).
Aa
White text reads best on this color (5.42:1).
About this color
#AB28C8 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.239 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.037 away. White text reads best on it, at 5.42:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.239) |
| Temperature | in between |
| Nearest name | Dark Orchid (#9932CC) |
| Black text | 3.86:1 |
| White text | 5.42:1 |
Values
| HEX | #AB28C8 |
| RGB | rgb(171, 40, 200) |
| HSL | hsl(289, 67%, 47%) |
| OKLCH | oklch(55.5% 0.239 319.3) |
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 #AB28C8 | 5.42:1 | AA | Lc -81.0 | Fine for body text |
| Black text on #AB28C8 | 3.86:1 | AA large text | Lc 28.4 | Dividers and decoration only |
| #AB28C8 text on white | 5.42:1 | AA | Lc 75.6 | Fine for body text |
| #AB28C8 text on black | 3.86: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
#FAF3FC
oklch(97.2% 0.014 318.7)
-
Step 100
100
#F3E4F7
oklch(93.6% 0.03 319.1)
-
Step 200
200
#EBCDF3
oklch(88.5% 0.061 319.1)
-
Step 300
300
#DFAAED
oklch(80.9% 0.108 319.1)
-
Step 400
400
#CE79E3
oklch(70.7% 0.172 319.4)
-
Step 500
500
#C04FDB
oklch(63.1% 0.221 319.4)
-
Step 600
600 (this color)
#AB28C8
oklch(55.5% 0.239 319.3)
-
Step 700
700
#9317AD
oklch(49.1% 0.222 319.4)
-
Step 800
800
#77198C
oklch(42.7% 0.184 319.2)
-
Step 900
900
#601E70
oklch(37.6% 0.143 319.1)
-
Step 950
950
#391342
oklch(27% 0.092 319.5)
#AB28C8 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) | #0061CC | 0.227 |
| Deuteranopia (no green cones) | #356EC5 | 0.211 |
| Tritanopia (no blue cones) | #AB4C79 | 0.147 |
| Achromatopsia (no color) | #6A6A6A | 0.241 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB28C8
#AB28C8
oklch(55.5% 0.239 319.3)
- #2D8A00
#2D8A00
oklch(55.6% 0.177 139.4)
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 #AB28C8, closest first.
No curated palette has a color within ΔE 0.04 of #AB28C8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Orchid #9932CC ΔE 0.037
- Vibrant Purple #AD03DE ΔE 0.040
- Purply #983FB2 ΔE 0.056
- Dark Violet #9400D3 ΔE 0.062
- Purpley Pink #C83CB9 ΔE 0.075
- Medium Orchid #BA55D3 ΔE 0.079
- Blue Violet #8A2BE2 ΔE 0.080
- Bright Violet #AD0AFD ΔE 0.082
Use #AB28C8 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.