#AB9EF8
Closest named color: Periwinkle Blue (#8F99FB). oklch(74.6% 0.128 289.5), rgb(171, 158, 248).
Aa
Black text reads best on this color (8.97:1).
About this color
#AB9EF8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.128 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.043 away. Black text reads best on it, at 8.97:1.
| Hue family | Purples |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.128) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 8.97:1 |
| White text | 2.33:1 |
Values
| HEX | #AB9EF8 |
| RGB | rgb(171, 158, 248) |
| HSL | hsl(249, 87%, 80%) |
| OKLCH | oklch(74.6% 0.128 289.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 #AB9EF8 | 2.33:1 | Fails | Lc -51.0 | Large or bold text, headings |
| Black text on #AB9EF8 | 8.97:1 | AAA | Lc 57.9 | Large or bold text, headings |
| #AB9EF8 text on white | 2.33:1 | Fails | Lc 46.0 | Large or bold text, headings |
| #AB9EF8 text on black | 8.97:1 | AAA | Lc -56.0 | Large or bold text, headings |
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 400.
-
Step 50
50
#F5F4FC
oklch(97% 0.011 292)
-
Step 100
100
#E9E8F9
oklch(93.7% 0.023 288.7)
-
Step 200
200
#D8D5F5
oklch(88.5% 0.044 289.8)
-
Step 300
300
#BFB8F2
oklch(80.8% 0.081 290)
-
Step 400
400 (this color)
#AB9EF8
oklch(74.6% 0.128 289.5)
-
Step 500
500
#8974E4
oklch(63% 0.163 289.5)
-
Step 600
600
#745AD2
oklch(55.6% 0.177 289.3)
-
Step 700
700
#6249B6
oklch(49.1% 0.165 289.5)
-
Step 800
800
#503C93
oklch(42.6% 0.137 289.9)
-
Step 900
900
#423576
oklch(37.8% 0.107 289.5)
-
Step 950
950
#261F45
oklch(26.9% 0.069 289.4)
#AB9EF8 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) | #84ABFC | 0.056 |
| Deuteranopia (no green cones) | #84A7F6 | 0.054 |
| Tritanopia (no blue cones) | #99AEBF | 0.108 |
| Achromatopsia (no color) | #A9A9A9 | 0.129 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB9EF8
#AB9EF8
oklch(74.6% 0.128 289.5)
- #B2B349
#B2B349
oklch(74.5% 0.128 109.7)
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 #AB9EF8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.043
- Baby Purple #CA9BF7 ΔE 0.046
- Pastel Purple #CAA0FF ΔE 0.048
- Liliac #C48EFD ΔE 0.053
- Lilac #CEA2FD ΔE 0.055
- Pale Purple #B790D4 ΔE 0.057
- Perrywinkle #8F8CE7 ΔE 0.066
- Pale Violet #CEAEFA ΔE 0.069
Use #AB9EF8 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.