#AB51FE
Closest named color: Lighter Purple (#A55AF4). oklch(63% 0.245 303.9), rgb(171, 81, 254).
Aa
Black text reads best on this color (5.33:1).
About this color
#AB51FE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.245 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.023 away. Black text reads best on it, at 5.33:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.245) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.33:1 |
| White text | 3.93:1 |
Values
| HEX | #AB51FE |
| RGB | rgb(171, 81, 254) |
| HSL | hsl(271, 99%, 66%) |
| OKLCH | oklch(63% 0.245 303.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 #AB51FE | 3.93:1 | AA large text | Lc -71.4 | Content text, not long reading |
| Black text on #AB51FE | 5.33:1 | AA | Lc 38.2 | Non-text elements, placeholder text |
| #AB51FE text on white | 3.93:1 | AA large text | Lc 65.9 | Content text, not long reading |
| #AB51FE text on black | 5.33:1 | AA | Lc -35.7 | 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 500.
-
Step 50
50
#F8F3FF
oklch(97.1% 0.017 304.8)
-
Step 100
100
#EFE5FD
oklch(93.7% 0.034 304.5)
-
Step 200
200
#E2CFFE
oklch(88.5% 0.067 303.4)
-
Step 300
300
#D1ADFF
oklch(80.8% 0.119 304)
-
Step 400
400
#BB7DFF
oklch(70.7% 0.19 304)
-
Step 500
500 (this color)
#AB51FE
oklch(63% 0.245 303.9)
-
Step 600
600
#9726ED
oklch(55.5% 0.266 303.8)
-
Step 700
700
#8111CF
oklch(49.1% 0.248 303.6)
-
Step 800
800
#6917A7
oklch(42.7% 0.205 303.9)
-
Step 900
900
#551E84
oklch(37.6% 0.16 304.1)
-
Step 950
950
#32144D
oklch(27% 0.101 304.6)
#AB51FE 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) | #007EFF | 0.187 |
| Deuteranopia (no green cones) | #0080FA | 0.189 |
| Tritanopia (no blue cones) | #9B79A2 | 0.178 |
| Achromatopsia (no color) | #808080 | 0.247 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB51FE
#AB51FE
oklch(63% 0.245 303.9)
- #769800
#769800
oklch(63.1% 0.157 124)
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 #AB51FE, closest first.
No curated palette has a color within ΔE 0.04 of #AB51FE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lighter Purple #A55AF4 ΔE 0.023
- Electric Purple #AA23FF ΔE 0.058
- Bright Lavender #C760FF ΔE 0.060
- Bright Lilac #C95EFB ΔE 0.063
- Light Urple #B36FF6 ΔE 0.064
- Neon Purple #BC13FE ΔE 0.068
- Bright Violet #AD0AFD ΔE 0.070
- Purpley #8756E4 ΔE 0.073
Use #AB51FE 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.