#AB1FD2
Closest named color: Vibrant Purple (#AD03DE). oklch(55.7% 0.254 316.9), rgb(171, 31, 210).
Aa
White text reads best on this color (5.44:1).
About this color
#AB1FD2 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.254 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.023 away. White text reads best on it, at 5.44:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.254) |
| Temperature | in between |
| Nearest name | Vibrant Purple (#AD03DE) |
| Black text | 3.85:1 |
| White text | 5.44:1 |
Values
| HEX | #AB1FD2 |
| RGB | rgb(171, 31, 210) |
| HSL | hsl(287, 74%, 47%) |
| OKLCH | oklch(55.7% 0.254 316.9) |
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 #AB1FD2 | 5.44:1 | AA | Lc -80.8 | Fine for body text |
| Black text on #AB1FD2 | 3.85:1 | AA large text | Lc 28.6 | Dividers and decoration only |
| #AB1FD2 text on white | 5.44:1 | AA | Lc 75.5 | Fine for body text |
| #AB1FD2 text on black | 3.85:1 | AA large text | Lc -26.3 | 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
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F3E3F9
oklch(93.5% 0.034 316.9)
-
Step 200
200
#EACDF5
oklch(88.5% 0.062 316.7)
-
Step 300
300
#DEA9F2
oklch(80.8% 0.115 316.6)
-
Step 400
400
#CD77EB
oklch(70.7% 0.183 316.8)
-
Step 500
500
#BF4BE4
oklch(63.1% 0.234 316.9)
-
Step 600
600 (this color)
#AB1FD2
oklch(55.7% 0.254 316.9)
-
Step 700
700
#9207B6
oklch(49.1% 0.236 316.7)
-
Step 800
800
#771293
oklch(42.7% 0.195 317)
-
Step 900
900
#601B75
oklch(37.7% 0.152 317)
-
Step 950
950
#381245
oklch(26.9% 0.097 316.3)
#AB1FD2 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) | #0062D6 | 0.229 |
| Deuteranopia (no green cones) | #206DCE | 0.225 |
| Tritanopia (no blue cones) | #A94E7E | 0.159 |
| Achromatopsia (no color) | #6A6A6A | 0.256 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB1FD2
#AB1FD2
oklch(55.7% 0.254 316.9)
- #3C8800
#3C8800
oklch(55.6% 0.168 136.9)
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 #AB1FD2, closest first.
No curated palette has a color within ΔE 0.04 of #AB1FD2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vibrant Purple #AD03DE ΔE 0.023
- Dark Orchid #9932CC ΔE 0.038
- Dark Violet #9400D3 ΔE 0.053
- Bright Violet #AD0AFD ΔE 0.066
- Electric Purple #AA23FF ΔE 0.069
- Purply #983FB2 ΔE 0.070
- Neon Purple #BC13FE ΔE 0.071
- Bright Purple #BE03FD ΔE 0.071
Use #AB1FD2 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.