#AB12D7
Closest named color: Vibrant Purple (#AD03DE). oklch(55.5% 0.264 316), rgb(171, 18, 215).
Aa
White text reads best on this color (5.52:1).
About this color
#AB12D7 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.264 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.012 away. White text reads best on it, at 5.52:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.264) |
| Temperature | in between |
| Nearest name | Vibrant Purple (#AD03DE) |
| Black text | 3.79:1 |
| White text | 5.52:1 |
Values
| HEX | #AB12D7 |
| RGB | rgb(171, 18, 215) |
| HSL | hsl(287, 85%, 46%) |
| OKLCH | oklch(55.5% 0.264 316) |
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 #AB12D7 | 5.52:1 | AA | Lc -80.9 | Fine for body text |
| Black text on #AB12D7 | 3.79:1 | AA large text | Lc 28.5 | Dividers and decoration only |
| #AB12D7 text on white | 5.52:1 | AA | Lc 75.6 | Fine for body text |
| #AB12D7 text on black | 3.79: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
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F3E3FA
oklch(93.5% 0.035 315.7)
-
Step 200
200
#EBCCF7
oklch(88.5% 0.067 316.5)
-
Step 300
300
#DFA9F5
oklch(81% 0.119 315.9)
-
Step 400
400
#CD75EF
oklch(70.6% 0.19 315.8)
-
Step 500
500
#C047E9
oklch(63.1% 0.243 316.2)
-
Step 600
600 (this color)
#AB12D7
oklch(55.5% 0.264 316)
-
Step 700
700
#9200B9
oklch(49.1% 0.241 315.9)
-
Step 800
800
#770997
oklch(42.7% 0.203 315.8)
-
Step 900
900
#601878
oklch(37.6% 0.158 315.9)
-
Step 950
950
#391146
oklch(27% 0.1 316.7)
#AB12D7 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) | #0061DC | 0.231 |
| Deuteranopia (no green cones) | #006CD3 | 0.236 |
| Tritanopia (no blue cones) | #A84D7F | 0.168 |
| Achromatopsia (no color) | #696969 | 0.266 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB12D7
#AB12D7
oklch(55.5% 0.264 316)
- #408700
#408700
oklch(55.5% 0.165 136)
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 #AB12D7, closest first.
No curated palette has a color within ΔE 0.04 of #AB12D7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vibrant Purple #AD03DE ΔE 0.012
- Dark Orchid #9932CC ΔE 0.044
- Dark Violet #9400D3 ΔE 0.049
- Bright Violet #AD0AFD ΔE 0.058
- Electric Purple #AA23FF ΔE 0.063
- Bright Purple #BE03FD ΔE 0.065
- Neon Purple #BC13FE ΔE 0.066
- Vivid Purple #9900FA ΔE 0.069
Use #AB12D7 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.