#AB7ECF
Closest named color: Wisteria (#A87DC2). oklch(66.8% 0.126 308.9), rgb(171, 126, 207).
Aa
Black text reads best on this color (6.61:1).
About this color
#AB7ECF is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.126 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.020 away. Black text reads best on it, at 6.61:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.126) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.61:1 |
| White text | 3.17:1 |
Values
| HEX | #AB7ECF |
| RGB | rgb(171, 126, 207) |
| HSL | hsl(273, 46%, 65%) |
| OKLCH | oklch(66.8% 0.126 308.9) |
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 #AB7ECF | 3.17:1 | AA large text | Lc -64.2 | Content text, not long reading |
| Black text on #AB7ECF | 6.61:1 | AA | Lc 45.3 | Large or bold text, headings |
| #AB7ECF text on white | 3.17:1 | AA large text | Lc 58.8 | Large or bold text, headings |
| #AB7ECF text on black | 6.61:1 | AA | Lc -43.0 | 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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EDE7F3
oklch(93.6% 0.017 308.3)
-
Step 200
200
#E0D3EB
oklch(88.5% 0.035 309.7)
-
Step 300
300
#CCB6DF
oklch(80.8% 0.062 309.2)
-
Step 400
400
#B290CF
oklch(70.7% 0.097 308.7)
-
Step 500
500 (this color)
#AB7ECF
oklch(66.8% 0.126 308.9)
-
Step 600
600
#8A5AAF
oklch(55.6% 0.136 308.7)
-
Step 700
700
#764997
oklch(49.1% 0.128 309.1)
-
Step 800
800
#603D7A
oklch(42.8% 0.104 309.1)
-
Step 900
900
#4E3462
oklch(37.6% 0.082 309)
-
Step 950
950
#2E1F3A
oklch(27.1% 0.052 308.8)
#AB7ECF 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) | #6D8FD2 | 0.093 |
| Deuteranopia (no green cones) | #7891CD | 0.085 |
| Tritanopia (no blue cones) | #A68A9D | 0.091 |
| Achromatopsia (no color) | #909090 | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB7ECF
#AB7ECF
oklch(66.8% 0.126 308.9)
- #7DA34B
#7DA34B
oklch(66.8% 0.124 128.7)
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 #AB7ECF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.020
- Soft Purple #A66FB5 ΔE 0.049
- Pale Purple #B790D4 ΔE 0.050
- Perrywinkle #8F8CE7 ΔE 0.058
- Deep Lilac #966EBD ΔE 0.058
- Medium Purple #9370DB ΔE 0.060
- Heather #A484AC ΔE 0.060
- Dusty Lavender #AC86A8 ΔE 0.068
Use #AB7ECF 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.