#AC51B1
Closest named color: Amethyst (#9B5FC0). oklch(58.4% 0.169 325.5), rgb(172, 81, 177).
Aa
White text reads best on this color (4.59:1).
About this color
#AC51B1 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.169 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.044 away. White text reads best on it, at 4.59:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.169) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 4.56:1 |
| White text | 4.59:1 |
Values
| HEX | #AC51B1 |
| RGB | rgb(172, 81, 177) |
| HSL | hsl(297, 38%, 51%) |
| OKLCH | oklch(58.4% 0.169 325.5) |
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 #AC51B1 | 4.59:1 | AA | Lc -76.9 | Fine for body text |
| Black text on #AC51B1 | 4.56:1 | AA | Lc 32.7 | Non-text elements, placeholder text |
| #AC51B1 text on white | 4.59:1 | AA | Lc 71.4 | Content text, not long reading |
| #AC51B1 text on black | 4.56:1 | AA | Lc -30.2 | Non-text elements, placeholder text |
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
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F2E5F2
oklch(93.6% 0.022 325.8)
-
Step 200
200
#E8D0E9
oklch(88.5% 0.043 324.7)
-
Step 300
300
#DBB0DC
oklch(80.9% 0.077 325.5)
-
Step 400
400
#C785CA
oklch(70.7% 0.122 325.3)
-
Step 500
500
#B864BC
oklch(63.1% 0.156 325.5)
-
Step 600
600 (this color)
#AC51B1
oklch(58.4% 0.169 325.5)
-
Step 700
700
#8B3990
oklch(49.1% 0.157 325.3)
-
Step 800
800
#713075
oklch(42.7% 0.13 325.3)
-
Step 900
900
#5C2B5E
oklch(37.6% 0.102 325.9)
-
Step 950
950
#361A37
oklch(27% 0.064 325.9)
#AC51B1 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) | #456EB4 | 0.166 |
| Deuteranopia (no green cones) | #6279AE | 0.146 |
| Tritanopia (no blue cones) | #B05D79 | 0.099 |
| Achromatopsia (no color) | #757575 | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AC51B1
#AC51B1
oklch(58.4% 0.169 325.5)
- #1D9433
#1D9433
oklch(58.4% 0.169 145.5)
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 #AC51B1, closest first.
No curated palette has a color within ΔE 0.04 of #AC51B1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.044
- Pinky Purple #C94CBE ΔE 0.057
- Purply #983FB2 ΔE 0.057
- Medium Orchid #BA55D3 ΔE 0.057
- Deep Lavender #8D5EB7 ΔE 0.059
- Purpley Pink #C83CB9 ΔE 0.060
- Soft Purple #A66FB5 ΔE 0.067
- Deep Lilac #966EBD ΔE 0.071
Use #AC51B1 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.