#AB2AC8
Closest named color: Dark Orchid (#9932CC). oklch(55.7% 0.237 319.2), rgb(171, 42, 200).
Aa
White text reads best on this color (5.38:1).
About this color
#AB2AC8 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.237 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.036 away. White text reads best on it, at 5.38:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.237) |
| Temperature | in between |
| Nearest name | Dark Orchid (#9932CC) |
| Black text | 3.89:1 |
| White text | 5.38:1 |
Values
| HEX | #AB2AC8 |
| RGB | rgb(171, 42, 200) |
| HSL | hsl(289, 65%, 47%) |
| OKLCH | oklch(55.7% 0.237 319.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 #AB2AC8 | 5.38:1 | AA | Lc -80.8 | Fine for body text |
| Black text on #AB2AC8 | 3.89:1 | AA large text | Lc 28.6 | Dividers and decoration only |
| #AB2AC8 text on white | 5.38:1 | AA | Lc 75.5 | Fine for body text |
| #AB2AC8 text on black | 3.89:1 | AA large text | Lc -26.2 | 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
#EBCDF2
oklch(88.5% 0.059 319.8)
-
Step 300
300
#DFAAEC
oklch(80.8% 0.107 319.6)
-
Step 400
400
#CD79E3
oklch(70.6% 0.172 319)
-
Step 500
500
#BF50DA
oklch(63% 0.218 319.3)
-
Step 600
600 (this color)
#AB2AC8
oklch(55.7% 0.237 319.2)
-
Step 700
700
#9218AD
oklch(49% 0.221 319)
-
Step 800
800
#771A8C
oklch(42.7% 0.183 319.2)
-
Step 900
900
#601E70
oklch(37.6% 0.143 319.1)
-
Step 950
950
#381442
oklch(27% 0.09 318.3)
#AB2AC8 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) | #0062CC | 0.226 |
| Deuteranopia (no green cones) | #376EC5 | 0.208 |
| Tritanopia (no blue cones) | #AB4D7A | 0.146 |
| Achromatopsia (no color) | #6A6A6A | 0.240 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB2AC8
#AB2AC8
oklch(55.7% 0.237 319.2)
- #2E8A00
#2E8A00
oklch(55.7% 0.176 139.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 #AB2AC8, closest first.
No curated palette has a color within ΔE 0.04 of #AB2AC8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Orchid #9932CC ΔE 0.036
- Vibrant Purple #AD03DE ΔE 0.041
- Purply #983FB2 ΔE 0.055
- Dark Violet #9400D3 ΔE 0.063
- Purpley Pink #C83CB9 ΔE 0.073
- Medium Orchid #BA55D3 ΔE 0.077
- Blue Violet #8A2BE2 ΔE 0.080
- Bright Violet #AD0AFD ΔE 0.083
Use #AB2AC8 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.