#AB5DF4
Closest named color: Lighter Purple (#A55AF4). oklch(63.8% 0.22 304.7), rgb(171, 93, 244).
Aa
Black text reads best on this color (5.60:1).
About this color
#AB5DF4 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.220 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.013 away. Black text reads best on it, at 5.60:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.220) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.60:1 |
| White text | 3.74:1 |
Values
| HEX | #AB5DF4 |
| RGB | rgb(171, 93, 244) |
| HSL | hsl(271, 87%, 66%) |
| OKLCH | oklch(63.8% 0.22 304.7) |
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 #AB5DF4 | 3.74:1 | AA large text | Lc -70.0 | Content text, not long reading |
| Black text on #AB5DF4 | 5.60:1 | AA | Lc 39.6 | Non-text elements, placeholder text |
| #AB5DF4 text on white | 3.74:1 | AA large text | Lc 64.5 | Content text, not long reading |
| #AB5DF4 text on black | 5.60:1 | AA | Lc -37.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 500.
-
Step 50
50
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EEE5FB
oklch(93.5% 0.031 304.3)
-
Step 200
200
#E2D0FA
oklch(88.5% 0.06 304.6)
-
Step 300
300
#D0AFF9
oklch(80.9% 0.108 304.5)
-
Step 400
400
#B981F6
oklch(70.7% 0.172 304.5)
-
Step 500
500 (this color)
#AB5DF4
oklch(63.8% 0.22 304.7)
-
Step 600
600
#9538E0
oklch(55.7% 0.239 304.8)
-
Step 700
700
#7F27C2
oklch(49% 0.222 304.9)
-
Step 800
800
#67249D
oklch(42.7% 0.184 304.8)
-
Step 900
900
#54257D
oklch(37.8% 0.143 304.9)
-
Step 950
950
#311749
oklch(27% 0.091 305)
#AB5DF4 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) | #0082F9 | 0.180 |
| Deuteranopia (no green cones) | #3784F1 | 0.164 |
| Tritanopia (no blue cones) | #9E7DA0 | 0.161 |
| Achromatopsia (no color) | #848484 | 0.221 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB5DF4
#AB5DF4
oklch(63.8% 0.22 304.7)
- #769B00
#769B00
oklch(63.8% 0.16 124.8)
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 #AB5DF4, closest first.
No curated palette has a color within ΔE 0.04 of #AB5DF4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lighter Purple #A55AF4 ΔE 0.013
- Light Urple #B36FF6 ΔE 0.041
- Bright Lavender #C760FF ΔE 0.053
- Bright Lilac #C95EFB ΔE 0.054
- Medium Orchid #BA55D3 ΔE 0.057
- Easter Purple #C071FE ΔE 0.058
- Light Purple #BF77F6 ΔE 0.068
- Medium Purple #9370DB ΔE 0.068
Use #AB5DF4 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.