#AC8EFB
Closest named color: Liliac (#C48EFD). oklch(71.9% 0.156 294.8), rgb(172, 142, 251).
Aa
Black text reads best on this color (8.01:1).
About this color
#AC8EFB is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.156 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.038 away. Black text reads best on it, at 8.01:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.156) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 8.01:1 |
| White text | 2.61:1 |
Values
| HEX | #AC8EFB |
| RGB | rgb(172, 142, 251) |
| HSL | hsl(257, 93%, 77%) |
| OKLCH | oklch(71.9% 0.156 294.8) |
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 #AC8EFB | 2.61:1 | Fails | Lc -56.1 | Large or bold text, headings |
| Black text on #AC8EFB | 8.01:1 | AAA | Lc 53.1 | Large or bold text, headings |
| #AC8EFB text on white | 2.61:1 | Fails | Lc 51.0 | Large or bold text, headings |
| #AC8EFB text on black | 8.01:1 | AAA | Lc -51.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
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EBE7FB
oklch(93.7% 0.027 295)
-
Step 200
200
#DBD3FA
oklch(88.6% 0.054 294.7)
-
Step 300
300
#C5B4FA
oklch(80.9% 0.099 295.2)
-
Step 400
400 (this color)
#AC8EFB
oklch(71.9% 0.156 294.8)
-
Step 500
500
#9568F3
oklch(63.1% 0.2 295)
-
Step 600
600
#814AE2
oklch(55.6% 0.218 294.9)
-
Step 700
700
#6D3AC4
oklch(49.1% 0.202 294.7)
-
Step 800
800
#59319F
oklch(42.7% 0.168 295)
-
Step 900
900
#482D7E
oklch(37.6% 0.131 294.6)
-
Step 950
950
#2A1C4A
oklch(27.1% 0.082 294.3)
#AC8EFB 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) | #6CA1FF | 0.089 |
| Deuteranopia (no green cones) | #719EF8 | 0.084 |
| Tritanopia (no blue cones) | #9AA2B8 | 0.127 |
| Achromatopsia (no color) | #A0A0A0 | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AC8EFB
#AC8EFB
oklch(71.9% 0.156 294.8)
- #A2AF1B
#A2AF1B
oklch(72% 0.157 115.1)
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 #AC8EFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.038
- Periwinkle Blue #8F99FB ΔE 0.047
- Lavender Blue #8B88F8 ΔE 0.053
- Perrywinkle #8F8CE7 ΔE 0.053
- Light Purple #BF77F6 ΔE 0.057
- Periwinkle #8E82FE ΔE 0.057
- Baby Purple #CA9BF7 ΔE 0.060
- Pale Purple #B790D4 ΔE 0.062
Use #AC8EFB 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.