#AB6EC4
Closest named color: Soft Purple (#A66FB5). oklch(63.6% 0.14 315.5), rgb(171, 110, 196).
Aa
Black text reads best on this color (5.75:1).
About this color
#AB6EC4 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.140 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.025 away. Black text reads best on it, at 5.75:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.140) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.75:1 |
| White text | 3.64:1 |
Values
| HEX | #AB6EC4 |
| RGB | rgb(171, 110, 196) |
| HSL | hsl(283, 42%, 60%) |
| OKLCH | oklch(63.6% 0.14 315.5) |
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 #AB6EC4 | 3.64:1 | AA large text | Lc -69.3 | Content text, not long reading |
| Black text on #AB6EC4 | 5.75:1 | AA | Lc 40.2 | Non-text elements, placeholder text |
| #AB6EC4 text on white | 3.64:1 | AA large text | Lc 63.8 | Content text, not long reading |
| #AB6EC4 text on black | 5.75:1 | AA | Lc -37.8 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F8F4FA
oklch(97.2% 0.009 314.8)
-
Step 100
100
#EFE6F3
oklch(93.6% 0.02 315.7)
-
Step 200
200
#E3D2EB
oklch(88.5% 0.038 315.1)
-
Step 300
300
#D2B4DF
oklch(81% 0.068 315.6)
-
Step 400
400
#BB8BCF
oklch(70.7% 0.11 315.7)
-
Step 500
500 (this color)
#AB6EC4
oklch(63.6% 0.14 315.5)
-
Step 600
600
#9553AF
oklch(55.7% 0.152 315.6)
-
Step 700
700
#7F4396
oklch(49.2% 0.141 315.8)
-
Step 800
800
#67377A
oklch(42.7% 0.118 315.6)
-
Step 900
900
#543162
oklch(37.8% 0.09 315.7)
-
Step 950
950
#311D39
oklch(27% 0.057 315.8)
#AB6EC4 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) | #5E82C7 | 0.118 |
| Deuteranopia (no green cones) | #6F88C2 | 0.107 |
| Tritanopia (no blue cones) | #AA7A90 | 0.093 |
| Achromatopsia (no color) | #868686 | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB6EC4
#AB6EC4
oklch(63.6% 0.14 315.5)
- #639D40
#639D40
oklch(63.5% 0.14 135.3)
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 #AB6EC4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.025
- Deep Lilac #966EBD ΔE 0.037
- Wisteria #A87DC2 ΔE 0.038
- Amethyst #9B5FC0 ΔE 0.047
- Medium Purple #9370DB ΔE 0.053
- Dark Lilac #9C6DA5 ΔE 0.054
- Medium Orchid #BA55D3 ΔE 0.064
- Deep Lavender #8D5EB7 ΔE 0.069
Use #AB6EC4 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.