#A640B0
Closest named color: Purply (#983FB2). oklch(55.5% 0.19 324), rgb(166, 64, 176).
Aa
White text reads best on this color (5.27:1).
About this color
#A640B0 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.190 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.028 away. White text reads best on it, at 5.27:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.190) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.98:1 |
| White text | 5.27:1 |
Values
| HEX | #A640B0 |
| RGB | rgb(166, 64, 176) |
| HSL | hsl(295, 47%, 47%) |
| OKLCH | oklch(55.5% 0.19 324) |
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 #A640B0 | 5.27:1 | AA | Lc -80.8 | Fine for body text |
| Black text on #A640B0 | 3.98:1 | AA large text | Lc 28.6 | Dividers and decoration only |
| #A640B0 text on white | 5.27:1 | AA | Lc 75.4 | Fine for body text |
| #A640B0 text on black | 3.98:1 | AA large text | Lc -26.3 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F3E5F3
oklch(93.7% 0.024 325.8)
-
Step 200
200
#E9CFEB
oklch(88.4% 0.047 323.8)
-
Step 300
300
#DDAEE0
oklch(80.9% 0.086 324.4)
-
Step 400
400
#CA81D0
oklch(70.6% 0.137 324.2)
-
Step 500
500
#BB5EC4
oklch(63% 0.175 324)
-
Step 600
600 (this color)
#A640B0
oklch(55.5% 0.19 324)
-
Step 700
700
#8E3198
oklch(49% 0.177 323.7)
-
Step 800
800
#742A7B
oklch(42.7% 0.147 324.2)
-
Step 900
900
#5E2863
oklch(37.8% 0.114 324.2)
-
Step 950
950
#37183A
oklch(27% 0.072 324)
#A640B0 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) | #2A64B3 | 0.192 |
| Deuteranopia (no green cones) | #5270AD | 0.166 |
| Tritanopia (no blue cones) | #A95172 | 0.113 |
| Achromatopsia (no color) | #6C6C6C | 0.192 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A640B0
#A640B0
oklch(55.5% 0.19 324)
- #008C1B
#008C1B
oklch(55.6% 0.18 144)
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 #A640B0, closest first.
No curated palette has a color within ΔE 0.04 of #A640B0.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.028
- Dark Orchid #9932CC ΔE 0.060
- Amethyst #9B5FC0 ΔE 0.065
- Purpley Pink #C83CB9 ΔE 0.066
- Warm Purple #952E8F ΔE 0.067
- Deep Lavender #8D5EB7 ΔE 0.072
- Medium Orchid #BA55D3 ΔE 0.074
- Pinky Purple #C94CBE ΔE 0.075
Use #A640B0 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.