#A040BA
Closest named color: Purply (#983FB2). oklch(55.2% 0.197 318.4), rgb(160, 64, 186).
Aa
White text reads best on this color (5.33:1).
About this color
#A040BA is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.197 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.019 away. White text reads best on it, at 5.33:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.197) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.93:1 |
| White text | 5.33:1 |
Values
| HEX | #A040BA |
| RGB | rgb(160, 64, 186) |
| HSL | hsl(287, 49%, 49%) |
| OKLCH | oklch(55.2% 0.197 318.4) |
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 #A040BA | 5.33:1 | AA | Lc -81.1 | Fine for body text |
| Black text on #A040BA | 3.93:1 | AA large text | Lc 28.3 | Dividers and decoration only |
| #A040BA text on white | 5.33:1 | AA | Lc 75.8 | Fine for body text |
| #A040BA text on black | 3.93:1 | AA large text | Lc -25.9 | Dividers and decoration only |
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 600.
-
Step 50
50
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F1E5F5
oklch(93.6% 0.025 317.7)
-
Step 200
200
#E7CFEE
oklch(88.4% 0.049 318.5)
-
Step 300
300
#D9AFE6
oklch(80.9% 0.088 318.1)
-
Step 400
400
#C582D9
oklch(70.6% 0.142 318.2)
-
Step 500
500
#B65FCE
oklch(63.1% 0.181 318.6)
-
Step 600
600 (this color)
#A040BA
oklch(55.2% 0.197 318.4)
-
Step 700
700
#8A32A1
oklch(49.1% 0.182 318.6)
-
Step 800
800
#702B83
oklch(42.7% 0.151 318.3)
-
Step 900
900
#5B2869
oklch(37.7% 0.119 318.5)
-
Step 950
950
#35183D
oklch(26.9% 0.075 318.6)
#A040BA 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) | #1465BE | 0.193 |
| Deuteranopia (no green cones) | #466EB7 | 0.166 |
| Tritanopia (no blue cones) | #A05678 | 0.124 |
| Achromatopsia (no color) | #6B6B6B | 0.198 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A040BA
#A040BA
oklch(55.2% 0.197 318.4)
- #338800
#338800
oklch(55.3% 0.172 138.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 #A040BA, closest first.
No curated palette has a color within ΔE 0.04 of #A040BA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.019
- Dark Orchid #9932CC ΔE 0.041
- Amethyst #9B5FC0 ΔE 0.062
- Deep Lavender #8D5EB7 ΔE 0.068
- Medium Orchid #BA55D3 ΔE 0.073
- Warm Purple #952E8F ΔE 0.074
- Purpley Pink #C83CB9 ΔE 0.077
- Vibrant Purple #AD03DE ΔE 0.079
Use #A040BA 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.