#A786FF
Closest named color: Periwinkle (#8E82FE). oklch(70.3% 0.173 294.1), rgb(167, 134, 255).
Aa
Black text reads best on this color (7.49:1).
About this color
#A786FF is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.173 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.040 away. Black text reads best on it, at 7.49:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Periwinkle (#8E82FE) |
| Black text | 7.49:1 |
| White text | 2.80:1 |
Values
| HEX | #A786FF |
| RGB | rgb(167, 134, 255) |
| HSL | hsl(256, 100%, 76%) |
| OKLCH | oklch(70.3% 0.173 294.1) |
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 #A786FF | 2.80:1 | Fails | Lc -59.0 | Large or bold text, headings |
| Black text on #A786FF | 7.49:1 | AAA | Lc 50.3 | Large or bold text, headings |
| #A786FF text on white | 2.80:1 | Fails | Lc 53.7 | Large or bold text, headings |
| #A786FF text on black | 7.49:1 | AAA | Lc -48.1 | 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
#F6F4FF
oklch(97.2% 0.015 294.5)
-
Step 100
100
#EAE6FD
oklch(93.5% 0.031 293.8)
-
Step 200
200
#DBD2FE
oklch(88.5% 0.061 294.5)
-
Step 300
300
#C4B3FF
oklch(80.8% 0.107 294.1)
-
Step 400
400 (this color)
#A786FF
oklch(70.3% 0.173 294.1)
-
Step 500
500
#9563FF
oklch(63.2% 0.221 293.9)
-
Step 600
600
#8242EE
oklch(55.7% 0.24 294.2)
-
Step 700
700
#6E31CF
oklch(49.1% 0.223 294.1)
-
Step 800
800
#592BA7
oklch(42.6% 0.185 294)
-
Step 900
900
#492A85
oklch(37.8% 0.144 294.1)
-
Step 950
950
#2A1A4E
oklch(27% 0.091 293.5)
#A786FF 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) | #5B9CFF | 0.103 |
| Deuteranopia (no green cones) | #6198FC | 0.096 |
| Tritanopia (no blue cones) | #929DB6 | 0.140 |
| Achromatopsia (no color) | #9A9A9A | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A786FF
#A786FF
oklch(70.3% 0.173 294.1)
- #9FA900
#9FA900
oklch(70.3% 0.158 114)
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 #A786FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle #8E82FE ΔE 0.040
- Lavender Blue #8B88F8 ΔE 0.043
- Light Purple #BF77F6 ΔE 0.049
- Liliac #C48EFD ΔE 0.052
- Light Urple #B36FF6 ΔE 0.053
- Perrywinkle #8F8CE7 ΔE 0.054
- Periwinkle Blue #8F99FB ΔE 0.056
- Easter Purple #C071FE ΔE 0.058
Use #A786FF 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.