#A787D2
Closest named color: Wisteria (#A87DC2). oklch(68.2% 0.113 303.1), rgb(167, 135, 210).
Aa
Black text reads best on this color (7.03:1).
About this color
#A787D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.113 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.030 away. Black text reads best on it, at 7.03:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.113) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 7.03:1 |
| White text | 2.98:1 |
Values
| HEX | #A787D2 |
| RGB | rgb(167, 135, 210) |
| HSL | hsl(266, 45%, 68%) |
| OKLCH | oklch(68.2% 0.113 303.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 #A787D2 | 2.98:1 | Fails | Lc -61.7 | Content text, not long reading |
| Black text on #A787D2 | 7.03:1 | AAA | Lc 47.7 | Large or bold text, headings |
| #A787D2 text on white | 2.98:1 | Fails | Lc 56.4 | Large or bold text, headings |
| #A787D2 text on black | 7.03:1 | AAA | Lc -45.4 | 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
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#ECE7F5
oklch(93.6% 0.019 302.2)
-
Step 200
200
#DED3EF
oklch(88.4% 0.04 303.4)
-
Step 300
300
#CAB6E7
oklch(80.9% 0.071 303.4)
-
Step 400
400 (this color)
#A787D2
oklch(68.2% 0.113 303.1)
-
Step 500
500
#9C71D0
oklch(63.1% 0.144 303.4)
-
Step 600
600
#8757BD
oklch(55.6% 0.157 303.4)
-
Step 700
700
#7247A3
oklch(49.1% 0.145 303)
-
Step 800
800
#5D3B84
oklch(42.7% 0.12 303.2)
-
Step 900
900
#4C336A
oklch(37.7% 0.094 303.2)
-
Step 950
950
#2C1E3E
oklch(26.9% 0.06 302.8)
#A787D2 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) | #7695D5 | 0.073 |
| Deuteranopia (no green cones) | #7D95D0 | 0.067 |
| Tritanopia (no blue cones) | #A093A3 | 0.087 |
| Achromatopsia (no color) | #959595 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A787D2
#A787D2
oklch(68.2% 0.113 303.1)
- #8BA452
#8BA452
oklch(68.1% 0.112 123.4)
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 #A787D2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.030
- Pale Purple #B790D4 ΔE 0.036
- Perrywinkle #8F8CE7 ΔE 0.046
- Heather #A484AC ΔE 0.056
- Dusty Lavender #AC86A8 ΔE 0.063
- Soft Purple #A66FB5 ΔE 0.065
- Lavender Blue #8B88F8 ΔE 0.069
- Periwinkle Blue #8F99FB ΔE 0.072
Use #A787D2 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.